Closed roblabla closed 5 years ago
all for it. you want to submit a PR?
Will do, I'll send one in a day or two, currently don't have access to a windows machine.
@roblabla this is now implemented in a dev branch
TYVM! Been a bit busy and haven't had much time to dedicate to this :<.
I'll build cargo-make with this and test it this we.
published
Features Description It'd be nice if a simple
touch file
would work, creating an empty file, and ideally updating the last access time.Describe the solution you'd like
Here's some arcane commands I found while researching this:
echo n | copy /-y NUL filename.ext
is an ugly but obvious one-liner to create an empty file if it does not exist.copy /b filename.ext +,,
will update the timestamp of a file. The+,,
flag is documented on the copy command doc.