Mickey Adair
New member
How can I get rid of the .HTM files that accompany each .CRW file, all at once?
How can I get rid of the .HTM files that accompany each .CRW file, all at once?
How can I get rid of the .HTM files that accompany each .CRW file, all at once?
I'm a Mac user and haven't been able to figure out how to isolate these .THM files for deletion. I don't want to save or use them.
Thanks for your reply.
You will find left single quotes (backticks) below the Esc with the tilde (~) key on most US keyboards. Keyboards tend to vary with native language, so keys are not always in the same place.Zap all .thm files with rm `find . -name *.thm` (note, those are not normal single quotes, they are reversed, next to your 'z' key)
Hi Mickey,
I have no idea what your comfort level is around your computer, but if you know how to open and type commands in the terminal (Terminal.app) you could get rid of those .thm files with a single command:
- Change to the directory below which your pictures are stored, e.g. cd ~/Pictures/
- Zap all .thm files with rm `find . -name *.thm` (note, those are not normal single quotes, they are reversed, next to your 'z' key)
Hi Emil,What does this do that rm *.thm will not accomplish in step 2?
Hi Emil,
If you use "rm *.thm", you will only remove the thm files in directory /pictures but will not do anything for the subdirectories.
rm `find . -name *thm` also searches and removes the thm files in the subdirectories of /pictures.
That is the difference.
HTH
Cheers,
Yes, I think so.If I wanted to remove such files in subdirectories as well as the current directory, I would have used "rm -R *.thm". Is the syntax "... find . -name ..." different, or just another route to the same goal?
If I wanted to remove such files in subdirectories as well as the current directory, I would have used "rm -R *.thm". Is the syntax "... find . -name ..." different, or just another route to the same goal?