skip to main | skip to sidebar

Line-At-A-Time

Pages

  • Home

Delete files recursively

To delete files of the specified name/pattern from current directory and all sub directories.

find . -type f -name 'myfilename' -exec rm {} +
Newer Post Older Post Home

Blog Archive

  • ►  09 (28)
    • ►  9 (28)
  • ►  12 (1)
    • ►  4 (1)
  • ►  13 (29)
    • ►  4 (9)
    • ►  5 (6)
    • ►  6 (14)
  • ►  14 (1)
    • ►  12 (1)
  • ►  15 (2)
    • ►  1 (2)
  • ▼  18 (7)
    • ►  2 (1)
    • ►  3 (1)
    • ▼  4 (5)
      • grep search source code for specific string(s)
      • Make a file executable
      • Delete files recursively
      • Editing Linux Mint 'Places'
      • Linux Mint using tar to backup and compress folders

My Blog List