Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
c310fb26
Commit
c310fb26
authored
Mar 06, 2019
by
Markus Scheidgen
Browse files
Script for removing dirs in parallel.
parent
4f966c19
Changes
1
Hide whitespace changes
Inline
Side-by-side
ops/prm.py
0 → 100644
View file @
c310fb26
import
sys
from
multiprocessing
import
Pool
import
shutil
if
__name__
==
'__main__'
:
paths
=
sys
.
argv
[
1
:]
with
Pool
(
23
)
as
p
:
p
.
map
(
shutil
.
rmtree
,
paths
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment