Results 1 to 8 of 8

Thread: Deleting files and folders

  1. #1
    Member
    Join Date
    Feb 2009
    Location
    Bristol, UK
    Posts
    84

    Deleting files and folders


    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.




  2. #2
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    Deleting files and folders


    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


  3. #3
    Junior Member
    Join Date
    Mar 2009
    Posts
    25

    Deleting files and folders



    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/o...ed-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?


  4. #4
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    Deleting files and folders


    You can delete the files on a samba share using windows. Or you could use Linux command line.


  5. #5
    Member
    Join Date
    Feb 2009
    Location
    Bristol, UK
    Posts
    84

    Deleting files and folders


    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.




  6. #6
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    Deleting files and folders


    \\vortexbox\music\mp3 should be readonly. You should be able to write and delete from \\vortexbox\files\music\mp3


  7. #7
    Member
    Join Date
    Feb 2009
    Location
    Bristol, UK
    Posts
    84

    Deleting files and folders


    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.


  8. #8
    Administrator andrew's Avatar
    Join Date
    Nov 2008
    Location
    New Hampshire
    Posts
    3,612

    Deleting files and folders


    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.




Similar Threads

  1. Deleting Select FLAC files
    By bondmanp in forum Help
    Replies: 1
    Last Post: 08-25-2011, 10:20 AM
  2. deleting flac folders and more
    By daryl in forum General
    Replies: 3
    Last Post: 01-14-2011, 04:50 PM
  3. Replies: 13
    Last Post: 12-13-2010, 05:08 AM
  4. Deleting files
    By plmulhol in forum General
    Replies: 2
    Last Post: 11-29-2010, 10:28 PM
  5. Replies: 6
    Last Post: 01-15-2010, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •