Script actions
Moderator: Martin
Re: Script actions
copying files by age is something I'd either use "rsync" for, or let "find" select them and pass their names and locations to execution of the copying or moving command. the "find" command provides a function for command execution with list of found files passed to command. At least the full versions of "find" do - the stripped down versions provided by the tool collection which comes with Android may or may not offer this particular functional aspect, I unluckily can't tell, as I don't have an unrooted, non-extended version of Android at hand. Look, again by invoking "find" with "--help", whether there's a "-exec" option available. Also look - by attempting to execute - whether there exists an "rsync" command.
Re: Script actions
Thanks. Ill look into that. However the script I have right now works pretty well if it weren't for this problem- can't pass a variable in the 'working dir' field of the 'execute command'
Re: Script actions
It's definitely an oversight that variables are not replaced in the working directory field. Should be fixed in the next update.
For the ls-command you can workaround this issue by appending the directory to the command:
ls -l /directory
resp:
ls -l {variable}
For the ls-command you can workaround this issue by appending the directory to the command:
ls -l /directory
resp:
ls -l {variable}