Tasker Help with moving files

Discussion in 'Guides / Examples / Ideas Forum' started by hassanderai, Feb 1, 2020.

  1. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    I am able to use tasker to move files in between subdirectoties .
    BUT when I want to move a file from root dir that is to say: storage/emulated/ to another directory,it won't move.
    Wether I fill match option or not, no files move.
    To clarify my root directory has some png and jpg files plus built in folders like Download.I want only to move png.
     

    Attached Files:

  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,468
    Likes Received:
    795
    Do you get an error when you run that task?
     
  3. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    Three in no error message.But nothing moved from root dir.for other dir like DCIM, files can be moved from them
     
  4. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    The first 2 actions marked with green circles.the 3rd action not.
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,468
    Likes Received:
    795
    What error do you get on that action?
     
  6. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    I Got no error.
    You can try to move files from root folder to see the problem.I think it is a bug
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,468
    Likes Received:
    795
    I just tried moving a file from the root directly and it worked for me.

    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  8. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    How (2)
    A1: List Files [ Dir:/storage/emulated Match:.png Include Hidden Files:Off Use Root:Off Sort Select:Alphabetic Variable:%FilesToMove ]
    A2: For [ Variable:%FilesToMoved Items:%FileToMove() ]
    A3: Move [ From:%FilesToMoved To:Download Use Root:Off ]
    A4: End For
     
  9. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    Hi
    THIS IS DESCRIPTION OF TASK
     
  10. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    THIS screen i Got after testons the task
     

    Attached Files:

  11. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    After testing the task
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,468
    Likes Received:
    795
    You should use the /storage/emulated/0/ folder instead of the one you're using :)
     
  13. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    how To do that?
    I cant see any option to select 0
     
  14. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    Even i write /storage/emulated/0 nothing moved.
    If i add / after 0 , the field dir Will be blank like this screenshot.
     

    Attached Files:

    Last edited: Feb 15, 2020
  15. hassanderai

    hassanderai New Member

    Joined:
    Feb 1, 2020
    Messages:
    11
    Likes Received:
    0
    To avoid all trouble , is there a a way screenshots taken by tasker to be stored in a given folder apart from root folder provided by tasker by default?
     
: Move files

Share This Page