Help deleting unwanted files
Posted: Sat Feb 23, 2008 9:23 am
First of all a thank you to everyone involved with Linux Mint, it is a truely great distro (and I've tried a few!)
I am trying to clean up a music collection that was once used by windows, it contains a whole load of "desktop.ini", "Thumbs.db" and randomly named JPG files (some of which I think are corrupt). The result of listng an individual folder is as follows
First question, do the file permissions look OK?
Second question why is it that when I run the following it doesn't show me any of the jpeg files that I know exist? (I'd be happy to read and learn topics if I only knew what to read up on!)
Especially when running the following command does show all the JPEGS!?!?!?
Third question, if I am using the wrong approach above then is there a command to delete all the .ini files from a directory structure or am I missing something?
Many thanks in advance for your help!
Dave
I am trying to clean up a music collection that was once used by windows, it contains a whole load of "desktop.ini", "Thumbs.db" and randomly named JPG files (some of which I think are corrupt). The result of listng an individual folder is as follows
Code: Select all
user@host:/mnt/files/shared/music/Zorg/Paris Lounge 3 - CD2$ ls -l
total 5204
-rwxrwx--- 1 david users 5296632 2007-04-07 17:40 01 Closer To The Peace.mp3
-rwxrwx--- 1 david users 1303 2007-02-25 13:14 AlbumArt_{788743ED-F95D-4D00-9340-65245D3550FD}_Large.jpg
-rwxrwx--- 1 david users 727 2007-02-25 13:14 AlbumArt_{788743ED-F95D-4D00-9340-65245D3550FD}_Small.jpg
-rwxrwx--- 1 david users 727 2007-02-25 13:14 AlbumArtSmall.jpg
-rwxrwx--- 1 david users 1303 2007-02-25 13:14 Folder.jpg
user@host:/mnt/files/shared/music/Zorg/Paris Lounge 3 - CD2$
Second question why is it that when I run the following it doesn't show me any of the jpeg files that I know exist? (I'd be happy to read and learn topics if I only knew what to read up on!)
Code: Select all
user@host:/mnt/files/shared/music$ ls -R *.jpg
ls: *.jpg: No such file or directory
user@host:/mnt/files/shared/music$
Code: Select all
user@host:/mnt/files/shared/music$ ls -R
**** SNIP ****
./Zimpala:
Paris Lounge 3 - CD2
./Zimpala/Paris Lounge 3 - CD2:
08 The Breeze Is Black (Mondae Mode.mp3 AlbumArtSmall.jpg
AlbumArt_{788743ED-F95D-4D00-9340-65245D3550FD}_Large.jpg Folder.jpg
AlbumArt_{788743ED-F95D-4D00-9340-65245D3550FD}_Small.jpg
./Zorg:
Paris Lounge 3 - CD2
./Zorg/Paris Lounge 3 - CD2:
01 Closer To The Peace.mp3 AlbumArtSmall.jpg
AlbumArt_{788743ED-F95D-4D00-9340-65245D3550FD}_Large.jpg Folder.jpg
AlbumArt_{788743ED-F95D-4D00-9340-65245D3550FD}_Small.jpg
user@host:/mnt/files/shared/music$
Many thanks in advance for your help!
Dave