More clever find
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 1 Jul 2014 18:16:38 +0000 (14:16 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 1 Jul 2014 18:16:38 +0000 (14:16 -0400)
crunch_scripts/run-command

index 1351f3bfadbac51d94879046e5b0017774f72230..3fcbe2a2c3dfb01a4c2ca1f40a59e70a60c5278c 100755 (executable)
@@ -65,7 +65,7 @@ finally:
 
     print("run-command output:")
 
-    subprocess.call(["find", "."])
+    subprocess.call(["find", ".", "-type", "f", "-printf", "run-command %12.12s %h/%f\\\n"])
 
     print("run-command writing to keep")