Hi
I have a lot of photos in a lot of folders (all under the /stars folder) and every picture has a thumbnail, too. The thumbnails have a '_t' in their name, like this 'picname_t.jpg'.
What I'd like to do is to delete all the thumbs ('*_t.jpg' files) recursively, using one ssh command for the /stars folder.
How can I do this?
Thanks.
P.S. if it matters, some folders inside /stars have spaces in their names and I'm using Putty to access the server.
RobotFX
0
Junior Poster in Training
Recommended Answers
Jump to PostIf you ever need to look for a command that does something, you can use
apropos search
i.e. if you were looking for a way to delete files
apropos delete
would give you something like:
argz_delete (3) - functions to handle an argz list at (1) - queue, examine or …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.