Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing files recursively using command line. 1

Status
Not open for further replies.

stla

IS-IT--Management
Mar 12, 2003
190
DE
I would like to remove the the following files from my file system:

.HSxmap

Can anyone tell me what the correct recursive command is ?

Let's supposing my parent folder is:

/path/to/my/files

Would the command be:

rm -r .HSxmap

Best regards
 
Something like...
Code:
find /path/to/my/files -name '.HSxmap' -print -exec rm -f \{\} \;
This will find and remove all files with that name under [tt]/path/to/my/files[/tt].

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top