Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top