Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I get this error when running manually to test: ./auto.sh: line 3: [: too many arguments Commented Sep 1, 2016 at 13:05
  • Yes, if you have spaces in your filenames you will see that. I have added " to the above script to handle that. Commented Sep 1, 2016 at 13:10
  • It Works! While the other answers were noble and interesting ideas. This was relatively simple, easy for me to understand and actually work. Thanks! Commented Sep 1, 2016 at 13:14