Search found 2 matches

by ronaldhovens
November 10th, 2013, 5:42 pm
Forum: Post-Processing Scripts
Topic: simple script to move files after processing
Replies: 39
Views: 72948

Re: simple script to move files after processing

Excuse me... My last script had an error, it created subduers instead of files. Here's the correct script: #!/bin/bash for folders in "$1" ; do newpath=$(echo $folders | sed "s#/Users/Chris/Downloads/#/Network Drive/#g") mkdir -p "$newpath" mv -f "$folders"/* ...
by ronaldhovens
November 10th, 2013, 3:46 pm
Forum: Post-Processing Scripts
Topic: simple script to move files after processing
Replies: 39
Views: 72948

Re: simple script to move files after processing

This one works for me on MAC OSX (modified from Mar2zz » februari 10th, 2011, 7:24 pm). His script could not handle directories with spaces in them but mine does ;-) #!/bin/bash for folders in "$1"/* ; do newpath=$(echo $folders | sed "s#/Users/Chris/Downloads/#/Network Drive/#g"...