squirrellydw Posted November 20, 2011 Share Posted November 20, 2011 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. Quote Link to comment
Joe L. Posted November 20, 2011 Share Posted November 20, 2011 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. Quote Link to comment
squirrellydw Posted November 20, 2011 Author Share Posted November 20, 2011 thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.