26 Mar
2008
26 Mar
'08
20:17
On Wednesday 26 March 2008 13:08, Per Jessen wrote:
Istvan Gabor wrote:
...
How can I delete these files w/o removing the folder itself?
ls -1 .thumbnails/large/* | while read f; do rm $f; done
This is as slow as the find -exec approach and vulnerable to files with spaces and other special characters in their names. The find + xargs approach is still the best for circumstances like this. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org