Portal Home > Knowledgebase > Articles Database > ssh command to do this
ssh command to do this
Posted by HD Fanatic, 05-13-2007, 03:23 PM |
I want to delete all files named .ftpquota from the server, what's the ssh command to accomplish this? Thanks!
|
Posted by Russ Foster, 05-13-2007, 03:26 PM |
find / -type f -name .ftpquota -delete
That should remove them all
|
Posted by HD Fanatic, 05-22-2007, 02:15 PM |
got an error:
find / -type f -name .ftpquota -delete
find: invalid predicate `-delete'
|
Posted by stdunbar, 05-22-2007, 02:25 PM |
You can do this in a cross platform way with:
the -delete option is specific to Linux.
|
Add to Favourites Print this Article
Also Read