Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am running Debian 3.1R2 (Sarge) and just ported over some data from Windows and subsequently MacOS 10.4.
There are in many directories in my music folder artifacts presumably made by iTunes on MacOS 10.4 that cause Amorak to have issues. I have temporarily deleted the offending files from the playlist, but they exist on the filesystem and I would like to delete them all. This is a daunting task because there are several sub-directories to get to the actual MP3 files, so over a thousand in a sea of 100 directories.
The files are <dot> files with the following structure: ._nameoffile.mp3
I am a complete newbie to shell scripting and so far can't even make the RM command remove them in the whole structure. The directory structure (in case it is important) is as follows:
That is the major task is to delete the files ._*.mp3 from the entire structure (abridged).
The other artifacts are from Windows in My Pictures, the same type of problem but the files are the thumbs.db that Windows inserts.
I need to know the command to do this or complete help writing a shell script to do this, though I only need to do this once, so perhaps the proper command would be sufficient.