Last active
July 3, 2018 18:57
-
-
Save catichenor/32df716c82109a39e7ff28c819980e15 to your computer and use it in GitHub Desktop.
Remove files in parallel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find a sequence of files and remove them in parallel with xargs. Helpful for FUSE-based object stores attached to VMs. | |
find . -type f -name "file*.png" | xargs rm -n 1 -P 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment