[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Why people use `find ... |env -i xargs rm -f' instead of `find ...| xargs rm -f'?



Hi, Dear all

I often find this line in  shell scripts:

find ... |env -i xargs rm -f

Why people want to clean the environment variables before rm files?

Has  this line
find ...| xargs rm -f
any harm?

Thanks in advance.

Best regards,
dai Yuwen




Reply to: