Page 1 of 1
Script request Move content of downloaded folder one folder up
Posted: February 22nd, 2010, 4:03 am
by roads
Hi, I am not able to write a script for the Mac and it does not look good for the feature request to unpack all files without folder generation or move all files one up and delete the downloadfolder. It would be great if someone could please throw those lines together. Thank you in advance.
Re: Script request Move content of downloaded folder one folder up
Posted: February 22nd, 2010, 10:57 am
by inpheaux
Here's a windows script, I believe there's a Linux/Mac bash script to do the same thing around here somewhere, I just couldn't find it.
Re: Script request Move content of downloaded folder one folder up
Posted: February 22nd, 2010, 11:08 am
by roads
Did not find it either. I did a search before posting I did!

I went through all threadnames but nothing matches the req.
Re: Script request Move content of downloaded folder one folder up
Posted: February 22nd, 2010, 12:25 pm
by doubledrat
probably something like
I would leave the rm line out until you're sure the mv works
not sure if rm on a mac will remove the folder as long as it's empty. if not, you might need to use rmdir