Hello,
I'm trying to create a script that will do the following:
It may look a little complex, but it's related to simple terminal commands.
The one I tried to do stuck on using the command "cd", I can't change the default location.
I'm trying to create a script that will do the following:
Open terminal;
"cd /Users/UserName/Desktop/TEMP";
"perl random.pl --out-prefix=result-regular --in-file=file.tar";
Wait 3 seconds;
"perl second.pl --out-prefix=result-different --in-file=file2.tar";
Wait 3 seconds;
"perl last.pl --out-final=name.tar *.rar";
Wait 3 seconds;
"rm *.zip";
"rm *.rar";
"rm *.rtf";
"cd /Users/UserName/Desktop";
Create a new folder called Name;
Drag name.rar to Name;
It may look a little complex, but it's related to simple terminal commands.
The one I tried to do stuck on using the command "cd", I can't change the default location.