Answers for "argument list too long"

0

argument list too long

# Non recursive

# [1] rm specific file extension
find . -maxdepth 1 -name "*.pdf" -print0 | xargs -0 rm

# [2] chmod files
find . -maxdepth 1 -name "*.html" -print0 | xargs -0 chmod 777
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language