GNU strokeDynamically changing modification, access, and change time components |
Contents |
Stroke is a small tool that offers a solution by providing a user with an extended command line interface that allows her to utilize an easy syntax to dynamically specify certain date and time components to be altered.
All in all stroke can be seen as a potent alternative to touch that leaves a user with more options.
Installation of pre-built deb-binary package for Ubuntu or
Debian:
`sudo dpkg -i stroke_0.X-1_i386.deb'
Installation of pre-built rpm-binary package for RedHat, SuSE, Fedora, Mandriva:
`sudo rpm -i stroke-0.X-1.i386.rpm'
In this example, the month value of access and modification time of all `*.jpg' files in the current directory is changed to 3 (March).
Set a file's change time date components equal to those of its modification time. Moreover, set its change time and access time hour component equal to that of its modification time.
Increment a file's modification and access time year value by one and decrement its modification and access time month value by 2 while preserving the file's change time at it its original value.
Set a files modification, access, and change time to the date indicated by the time stamp given; this would be the 13th of May 2000, at 11:05:23 pm.
Detailed information on how to use stroke may extensively be
obtained from the manual page stroke (1) that is
supplied with the package.
It can also be accessed online here:
Alternatively, taking a glance at the output as produced by the `stroke -help' command may serve as a good source of succinct information:
As of this version, stroke has mostly been written by Sören Wellhöfer <soeren.wellhoefer@gmx.net>
You are welcome to contact him for comments, wishes/suggestions, and contribution offerings/requests. If you have created patches or fixes of any kind, please do also send them in to him. After validation, they will be thankfully incorporated into the project.
Contributors or people that have sent in patches or fixes are listed below, if they wish so; this list will be continued to be updated.