8
Nov/08
1

Linux: Find and delete files/directories recursively in Linux

To have the OS find and delete files and directories recursively in Linux try the following command:

find <path> -name <filename> -exec rm -rf {} ;

Example:

find /vmware -name *.log -exec rm -rf {} ;

To find and replace strings within files look here.

Related posts:

  1. Linux: find a string recursively within files
  2. Linux: A simple and quick way of sharing a folder with Windows systems using Samba
  3. Linux: vsftpd and symbolic links

Filed under: Linux
You are not authorized to see this part
Please, insert a valid App ID, otherwise your plugin won't work correctly.
Comments (0) Trackbacks (1)

Leave a comment

Plugin from the creators of Brindes Personalizados :: More at Plulz Wordpress Plugins