p-nand-q.com | home | computer | humor | business | pictures | about

Computer

gtools

touch

This tool changes the date/time of a file. Typically, it sets it to the current date/time, but you can also specify a specific one. It can process directories recursively.

Usage

C:\Projects\2010\GSharpTools\bin\Release>touch /?
touch - Version 3.2
Freeware written by Gerson Kurz (http://p-nand-q.com)

USAGE: touch.EXE [OPTIONS] DIR {DIR}.
OPTIONS:
    /RECURSIVE: search directories recursively
     DIR {DIR}: one or more directories to search

Examples

To update all files in the current directory, type:

touch .

To touch all .py files in a tree, recursively, try this one:

touch /RECURSIVE *.py 

Download

Starting with version 3.2, touch is part of gtools, which you can download here..

History