Search This Blog

Tuesday, January 18, 2011

Command to find & delete files in linux

Command to find & delete files in linux

find /path/ -type f -exec /bin/rm -f '{}' \;

1 comment:

  1. find ./ -type f -name "*~" -exec /usr/bin/git rm '{}' \;

    ReplyDelete