Jump to content

[solved] delete a bunch of files at once through telnet?


Recommended Posts

Is there away I can delete a bunch of files at once through telnet.  For example cd /mnt/disk1/downloads   In my downloads folder I have a bunch of files I would like to delete and would like to try to do it though telnet.

rm /mnt/disk1/downloads/*

 

if not sure, type

ls /mnt/disk1/downloads/*

to see what will be deleted first.

 

In place of * (which matches every file) you can use *.xyz

where "xyz" = the extension of the files you want removed

 

or, type

mc

and use midnight commander to select, and then delete the files.

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...