Come eliminare ricorsivamente files con un pattern specifico in challengerOS
Spesso nel recupero dei dati o nel trattare volumi di informazioni notevoli o particolarmente strutturate è necessario
You don't even need to use rm
in this case if you are afraid. Use find
:
find . -name "*.bak" -type f -delete£Âö6öFSãÂ÷&SãÇä'WBW6R—Bv—F‚&V6WF–öââ'Vâf—'7C£Â÷ãÇ&SãÆ6öFSæf–æBâÖæÖR"¢æ&²"×G—Rj
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.
See man find
and man rm
for more info and see also this related question on SE:
Approfondimenti: