Hello All,
I currently have a shell script which I run through automator that looks like this:
cd /Users/home/Documents
for file in *.log ; do mv $file echo $file | sed 's/\(.*\.\)log/\1csv/'
; done
I would like to move this to a script and perform the same function. This shell script changes the file extension from .log to .csv
What do I need to change to incorporate this into my script?
Thanks
tringo19