Answers for "rm argument list too long linux"

1

rm argument list toot long

# To delete files when we receive the message "argument list is too long"
# This is the non recursive version

find . -maxdepth 1 -name "*.pdf" -print0 | xargs -0 rm
Posted by: Guest on October-01-2020
1

bash: /bin/rm: Argument list too long

// aviod Argument list too long
find . -maxdepth 1 -type f -name "temp_file_name_*" -delete
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language