Skip to content

Update the access and modification times of each FILE to the current time, similar to the unix touch command

License

Notifications You must be signed in to change notification settings

adambg/win-touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux touch for Windows

touch changes the access and/or modification timestamps of the specified files, similar to the unix touch command

  • A FILE argument that does not exist is created empty, unless -c or -h is supplied.
  • Current time is used if none of -u or -t supplied
  • If you supply both -u and -t only -u will be used
Usage: touch [OPTION]... FILE...

  -u STAMP        Unix timestamp, seconds since Jan 01 1970
  -t TIME         Use time format YYYYMMDDHHMMSS
  -c              Do no create any files
  -a              Change only the access time
  -m              Change only the modification time

Download

You can download the touch.exe executable for Windows (amd64) from the Release page

License

The MIT License (MIT). Please see License File for more information.

About

Update the access and modification times of each FILE to the current time, similar to the unix touch command

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages