Horje
bash: /bin/rm: Argument list too long Code Example
bash: /bin/rm: Argument list too long
// aviod Argument list too long
find . -maxdepth 1 -type f -name "temp_file_name_*" -delete
-bash: /bin/rm: Argument list too long inodes
find . -type f | xargs rm -f
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




Shell

Related
linux append group Code Example linux append group Code Example
spotify linux Code Example spotify linux Code Example
add user to group Code Example add user to group Code Example
add user to group arch Code Example add user to group arch Code Example
remove mysql Code Example remove mysql Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10