Answers for "bash remove random files from directory"

0

bash remove random files from directory

find /path/to/dir -type f -print0 | sort -zR | tail -zn +1001 | xargs -0 rm
Posted by: Guest on June-11-2020

Code answers related to "bash remove random files from directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language