Page 1 of 1
select
Posted: 04 Dec 2015 16:30
by Atbl
How to select all the files in a folder at a specified location containing some specific text or keyword ??
And is there way to copy and paste files (not move file as it can not be moved in non rooted phone) ??
Re: select
Posted: 04 Dec 2015 20:34
by Martin
Hi,
You could list all files with action Init Variable File List, loop over the files and read each file with action Init Variable Text File, check with a script that the variable contains the text and then copy the file to the new location with action Copy File.
Regards,
Martin
Re: select
Posted: 05 Dec 2015 02:45
by Atbl
Hi Martin,
I didn't understand what you are trying to say.
Please can you post the flow....
And I need to cut and paste files separately and not copy files....
Re: select
Posted: 07 Dec 2015 20:02
by Martin
Hi,
Please check flow
TextFileChecker.
The flow first loads the list of text files then loops over each file, loads the text in the file and checks if the text contains the word "test" (Expression: contains...).
You could replace the Notification action at the bottom with a copy action, however I don't understand what you mean by 'cut and paste files'. Can't you copy the file to the new location and then delete the old file?
Regards,
Martin