Name: dockerParallelRemoveDirectory
Owner: Sage Bionetworks
Description: deletes directory files in parallel for the DM challenge
Created: 2016-11-16 20:43:33.0
Updated: 2016-11-18 03:20:27.0
Pushed: 2016-11-18 03:13:56.0
Homepage: null
Size: 5
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
deletes in parallel all files within specified directory for the DM challenge.
parameterized version of Thomas Schaffter's parallel removal.
er run --rm -v /path/onHost/:/path/onDockerImage/directory1 [... -v /path/onHostN/:/path/onDockerImage/directoryN] dockerParallelRemoveDirectory directory1 [... directoryN]
setup 2 directories with files
r plsdelete
r plsdelete2
asdf>>plsdelete/asdf.txt
qwerty>>plsdelete2/qwerty.txt
lsdelete*
run the docker container
er run --rm -v ~/plsdelete:/plsdelete -v ~/plsdelete2:/plsdelete2 dockerParallelRemoveDirectory plsdelete plsdelete2
check the folders after
lsdelete*