Displaying items by tag: erase
Lunedì, 19 Novembre 2018 07:21
Ubuntu: cancellare file in modo ricorsivo
sudo find . -name '*.png' -delete o sudo find . -name "*.bak" -type f -delete
But use it with precaution. Run first:
sudo find . -name "*.bak" -type f
to see exactly which files you will remove.
Also, make sure that -delete is the last argument in your command. If you put it before the -name *.bak argument, it will delete everything.
rm -r *.bak elimina anche le cartelle che terminano in .bak con tutto il loro contenuto
Published in
Server