Skip to main content
 

Parallel

Removing 120k directories on CNS for a xoogler should be easy, right? Well, it is if you're using GNU parallel

  parallel --bar  -n 1 fileutil --gfs_user=distiller-yt-pii rm -f  -R < /tmp/top-dirs.txt

  ....
  35% 5974:10984=4225s /cns/pc-d/home/mlei/rockers_squared_nm/Models/Experiment-model0_no_crosses/Version-00119720-Created-20140613-21s5936