Question

I am using the python module formic,

assuming I have a file called test1~ in the current folder, how can I fetch it?

e.g. something like

formic -i '*~'

is not working. However this works:

find . -name '*~'

Any idea how to match such a pattern using ant syntax? I need to remove all old files ending with '~' from a list of candidates.

Note: it could be that the python package formic has an issue

Was it helpful?

Solution

In Ant, by default, files with names ending with a ~ are excluded from all directory-based Ant tasks. From the Ant documentation on Default Excludes:

If you do not want these default excludes applied, you may disable them with the defaultexcludes="no" attribute.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top