On 02/05/2019 6:23 a.m., Stephen Gregoratto wrote:
On 2019-05-02 11:46, Noth wrote:
I set up a script for sysclean:

cat sysclean65.txt | while read line ; do rm -rf "${line}" ; done
Nitpick, but this could be shortened to:

   xargs rm -rf < sysclean??.txt

Just tested this on my server, so it should work fine.

If there are filenames with spaces in them, I think that command won't work as expected.

Cheers,
Steve Williams

Reply via email to