×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Bash
Posted by: petecocoon
Added: Sep 13, 2012 12:00 PM
Views: 40
  1. find /directory/to/clear/path -iname ".*" -maxdepth 1 -type f -exec rm {} \;
  2. find /directory/to/clear/path -iname ".*" -maxdepth 1 -type d -exec rm -rf {} \;
  3.