File delete option - wildcards?

501 views
Skip to first unread message

leopheard

unread,
Aug 15, 2012, 3:13:25 PM8/15/12
to tas...@googlegroups.com
Hi all,

I am trying to take and email a series of photos to an email address using the Python SendemailA.py script as mentiobed on this forum. I'm then trying to delete the photos just taken by using the file -> delete -> /folder/etc/*.jpg command.

For some reason, it will not delete all .jpgs in this particular folder as it thinks that the *.jpg is an actual file. Any ideas? What is the ALL equivalent wildcard? For years I have used *.* to refer to any file name with any extension, but is this just Windows?

Any help would be greatly appreciated.

Pent

unread,
Aug 16, 2012, 1:29:30 AM8/16/12
to Tasker
If you want standard shell behaviour, use a shell:

Script / Run Shell rm /path/to/dir/*.jpg

Pent

leopheard

unread,
Aug 16, 2012, 6:40:34 AM8/16/12
to tas...@googlegroups.com
That's excellent, many thanks for your help!

For anyone else with similar Shell problems, I've found a basic Shell commands page here:

Reply all
Reply to author
Forward
0 new messages