File copy question

45 views
Skip to first unread message

Jay Coover

unread,
Oct 11, 2010, 2:47:04 PM10/11/10
to Tasker
Is there a way to make tasker copy an entire directory of files? In
this case exact file names would not be known, but it would copy or
move anything in a specified directory. I see no way to do this
currently.

Thanks,
Jay

JM

unread,
Oct 11, 2010, 3:30:37 PM10/11/10
to Tasker
I can't test this right now but I think this might work...

Step 1 - You could use the "Locale Execute Plugin" to run a command
like this: "ls /sdcard/somedirectory > /sdcard/filelist". That will
put a file list in the file named "filelist" on the sdcard..

then use Tasker to ...
2 Read Line > filelist to %MYFILE
3 Copy File %MYFILE to wherever if %MYFILE doesn't match EOF
4 GoTo 2 if %MYFILE doesn't match EOF

Pent

unread,
Oct 11, 2010, 6:01:38 PM10/11/10
to Tasker
And if that doesn't work it's on the todo list too :-)

Pent
Reply all
Reply to author
Forward
0 new messages