Jump to content

How do I mass-delete a specific filetype (*.nfo) from the server?


Recommended Posts

I can search for the file type and it finds a big amount of them, and I feel it's the fastest way to reset something after one has made massive changes, instead of going from folder to folder. I tried to let the VM do it, but it kind of lost connection with the server while trying to do it, and other times it couldn't. So I have been manually deleting a big amount of them. 

I thought; maybe someone knows of a plugin for such a task. Or something else. 

Link to comment

use : find . -name "*.nfo" -type f

so you are sure that's the files you want to delete

 

and when you are sure the list is all files you want to delete use : find . -name "*.nfo" -type f -delete

Edited by own
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...