]> git.scottworley.com Git - picsort/blobdiff - pics-make-inputjs
Don't re-download or re-rename-to-date seen files
[picsort] / pics-make-inputjs
index 73bff759c38a5a63dff9d421c18d247b19719554..e1182b87fcf6c467efb6d9d855f89858ed366b23 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
 
 cat > picstosort.js <<EOF
 #!/bin/bash
 
 cat > picstosort.js <<EOF
-files =  [ $(ls 10 | ql | tr \\n , | sed 's/,$//' ) ];
+files =  [ $(ls -rt *.NEF *.jpeg | ql | tr \\n , | sed 's/,$//' ) ];
 EOF
 EOF