'touch filename.ext' will touch 'filename.ext.exe' or 'filename.ext.lnk' or 'filename.ext.exe.lnk' if they exist when there's no 'filename.ext'
Marco Atzeri
marco.atzeri@gmail.com
Sun Aug 7 12:36:44 GMT 2022
On 02.08.2022 15:45, Mike Kaganski wrote:
> Hi!
>> Using cygwin 3.3.4-2 and 3.3.5-1:
>>> Create a file named 'file.ext.exe'.
>> In cygwin, run:
>> > touch file.ext
>>> Examine the directory. The 'file.ext' wasn't created; the file
> 'file.ext.exe' timestamp was updated.
>
Hi Mike,
it is an expect behaviour as "file.ext.exe" has as alias "file.ext"
see User Guide
https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-exe
Regards
Marco
More information about the Cygwin
mailing list