Sage-Bionetworks/dockerParallelRemoveDirectory

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dockerParallelRemoveDirectory

deletes in parallel all files within specified directory for the DM challenge.

parameterized version of Thomas Schaffter's parallel removal.

Usage
er run --rm -v /path/onHost/:/path/onDockerImage/directory1 [... -v /path/onHostN/:/path/onDockerImage/directoryN] dockerParallelRemoveDirectory directory1 [... directoryN]
example

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*

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.