View Full Version : Deleting files and folders
smitty
02-28-2009, 10:01 AM
I've got Vortexbox up and running and doing what it's supposed to. Now I want to get rid of some of the music files and folders that were created whilst I was doing test rips. Thing is I can't figure out how to delete them. I'm viewing the files via 'Explorer - My Network Places' in Win XP. I know Vortexbox is designed to prevent accidental deletion of files but how do I deliberately get rid of files? A smiple step by step would be much appreciated.
andrew
02-28-2009, 04:44 PM
There is some on-line documenttion that tells you have do do this. You can write to the files share.
http://vortexbox.org/documentation/ok-i-installed-it-now-what
jeff_f
03-03-2009, 11:23 AM
Andrew said:
There is some on-line documenttion that tells you have do do this. You can write to the files share.
http://vortexbox.org/documentation/ok-i-installed-it-now-what
Andrew - I'm looking to do the same. Now that I've changed the way my files are encoded, I want to delete the originals.
How can I do that?
andrew
03-03-2009, 06:28 PM
You can delete the files on a samba share using windows. Or you could use Linux command line.
smitty
03-03-2009, 08:56 PM
Hi Andrew - thanks for the reply. I did have a read through your documentation before making my original post. The problem I have is that yes, I can delete the individual music files via the windows (XP Professional) samba share . However the folder they are in is read only (ie. the artist name folder). I dont know how to change the user permissions for these folders in order to delete. To confirm I am using the Vortexbox>files>music>flac/mp3 route. I'm using VortexBox ver 4.0.
By the way, thanks for this excellent product. I've never used Linux before and playing with this has introduced me to a whole new world of computing fun such as editing files from command line and so on.
andrew
03-04-2009, 05:47 AM
\\vortexbox\music\mp3 should be readonly. You should be able to write and delete from \\vortexbox\files\music\mp3
smitty
03-05-2009, 01:44 AM
Sorry to keep on about this - yes, I can delete the individual mp3 or flac files from \vortexbox\files\music\mp3 (or flac). What I can't do is get rid of the folder they are in. ie \vortexbox\files\music\mp3\Annie Lennox - Medusa\
When I try to delete this folder I get an error meessage saying 'Cannot delete folder - directory is not empty'
What I am left with then in Squeezecentre is a cover image for the album but with no music files associated with it to play - I want to get rid of the cover image which will presumeably happen when I manage to delete the folder.
andrew
03-05-2009, 05:02 AM
This is a bug. I thought I would save a little space by using links but SMB dosn't seem to like them. Here is the fix. From command line type all this
cd /storage/music/
find . -name cover.jpg -type f -execdir rm folder.jpg \;
yum -y update vortexbox
/opt/vortexbox/getcoverart
That will replace the links with files. You can now delete the folders. You only have to do this once. It will work going forward.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.