Tag Archives: by name

Linux Delete Directories or Files By Name

The Code Explanation We use the find command in the current directory(.) to search for a name starting with 2013- followed by anything, which is of type d for directory. We then pipe (|) the found directories over to the xargs command which runs the remove command (rm) with the options of recursive (r) and forced […]

Posted in Interesting Finds| Also tagged , , , , , , , , , , | 1 Response