r/tasker•
Reibees

How do I move files from folder to folder?

Completely new to Tasker and was looking for some help. This is what I currently have for moving files from one folder to another.

Profile
List Files -> Dir: DCIM, Match: *.jpg, Variable: %files
Flash -> Text: Moving files...
For -> Variable: %file, Items: %files()
Move -> From: %file, To SD Card
End For

Is there a way I can set a profile for whenever I turn my screen off this task will take action? Not sure what I'm doing wrong since none of my files are moving to my SD card location.

Posted Aug 31, 2019, 1:31 AM UTC

34
sid32•

I have one that works. And check off continue after error where you can. I don't know about screen off, why not when power is attached?

​

  1. List files - whatever dir to variable %transfer
  2. For variable %transfers to %transfers()
  3. Move from %transfers to SD card dir - if %transfer matches *jpg
  4. End for.
1
ReibeesOP•

Is "Continue After Error" on or off? Tried on and off but it's not working. Seems like it's getting stuck on Move cause there's a green circle on 1 & 2. I just do Display off to make it more consistent.

Currently this is how it looks:

Profiles - Display Off

  1. List Files - Dir Phone to Variable %transfer, after Error is off
  2. For Variable %transfers to Items %transfers()
  3. 3.Move From %transfers to SD Card - if transfer matches *jpg, After Error is off
  4. 4.End For
1
sid32•

Continue after error is on. Try moving files from one dir to another on main memory. Tasker might not have permission to write to SD. So try moving one file to SD. Like tell Tasker to move test.txt to SD

3
ReibeesOP•

Ahh it was the permission, got it working now! Thanks

2