This command in one line allows to empty all the files (readable of cours) in a folder
find . -type f -exec sh -c '>{}' \;
Advertisements
This command in one line allows to empty all the files (readable of cours) in a folder
find . -type f -exec sh -c '>{}' \;