Watch folder for changes

166 views
Skip to first unread message

R. Michael Walker

unread,
Mar 18, 2021, 6:02:28 AM3/18/21
to Tasker
I wish to watch a folder for when a new file is created. When the file is created I want to get the name of the file that is created and change the name and move it to a new folder. I can only find where I can watch only individual files. I hope somebody can help with this.

jmjc...@gmail.com

unread,
Mar 18, 2021, 9:31:05 PM3/18/21
to Tasker
Use the File Modified context, choose a folder and choose "Create" under Event.

João Dias

unread,
Mar 19, 2021, 6:06:32 AM3/19/21
to tas...@googlegroups.com
I would recommend the CloseWrite event instead in the File Modified event so that you're sure that the file is done writing :)

Thank you for your contact.

   Join: connect multiple devices (send pushes, remote SMS, notifications) on Android, Windows, Mac, Linux
   Tasker: customize/automate anything on your phone!
   AutoApps: add advanced functionality to Tasker via plugins

     

João Dias


Rich D

unread,
Mar 19, 2021, 6:55:41 AM3/19/21
to Tasker Google Groups Post
 I want to get the name of the file that is created 

Whichever file event context you choose the new folder name will be available in the array %evtptm
Reply all
Reply to author
Forward
0 new messages