|
When I use this -
for file in $( find /usr/home/hypo/websites -name "*.html" -atime "+30" ); do rm $file; done
it does not show the names of files it is deleting - is it possible to have that?
Replacing it with echo does that, but I would like it to both echo and delete. I suppose this should do it, but I dont want to riskl it without confirmation -
for file in $( find /usr/home/hypo/websites -name "*.html" -atime "+30" ); echo rm $file; do rm $file; done
|