• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How to move "wildcard files" in Tasker

Alright, I know that "wildcard files" might have thrown you off, but what I'm asking is how to move certain files from one folder to another. These files won't always have the same name because I downloaded them from a server (that's why I said wildcard). There are several files that I want to keep exactly where they are, and I can configure the profile on my own because I already have a plan. Can anyone help me?
 
The following task moves ...
Tasker/factory/kids/*.apk
... to ...
tlanet/apk



Sample
A1: List Files [ Dir:Tasker/factory/kids Match:*.apk Include Hidden Files:Off Use Root:Off Variable:%work Continue Task After Error:On ]
A2: For [ Variable:%work Items:%work() ]
A3: Move [ From:%work To:tlanet/apk Use Root:Off ]
A4: End For

... Thom
 
Last edited:
Umm, wow... That's a lot of stuff that I don't really understand... and it doesn't help that Tapatalk is making the o-ff into "OMG" emojis. Sorry, but can you explain what you said?
 
It creates a list with the List action using a wildcard

The For loop steps through the list and moves the items one at a time

If instead of the move do a popup you will see that the list contains the fully qualified name for each entry.

... Thom
 
Back
Top Bottom