Hello everybody,
I'm fairly new to PD and this is my first question in the forum. I hope somebody can help me, and sorry if this has been covered before (at least I haven't been able to find it).
I'm trying to send messages to the OSX terminal from PD; what I want to do is basically copying a certain file into a new path with a new name.
The text in my message is something like this:
cp ./jpeg/001.jpg ./output/NEW01.jpg
I have this connected to a shell object and I have a print STDOUT and print DONE objects to the left and right outlets just as I have seen on the PD help examples.
I checked my code and it and it works if I enter it directly on the Terminal, no problems here (being on the right directory in the first place of course).
I also tried to send a "cd" message to the shell object just before I send the other message, just in case PD wouldn't tell the Terminal wich folder we are in the first place.
The only noticeable difference is that in the console I see "DONE: 0" when I send the "cd" message and "DONE:1" when I send the "cp" message. but no files are copied in my system whatsoever.
What can I do?
I hope I made myself clear enough. Thanks in advance!