Query: datefudge
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DATEFUDGE(1) Debian DATEFUDGE(1)NAMEdatefudge - pretend the system time is differentSYNOPSISdatefudge [-s|--static] at_date program [arguments ...]DESCRIPTIONdatefudge is a small utility that pretends that the system time is different by pre-loading a small library which modifies the time(2), gettimeofday(2) and clock_gettime(2) system calls.OPTIONS--static, -s set date as a `static' one. The above mentioned system calls will always return the date passed as a parameter of the program regardless of time passing. See EXAMPLES below. --help, -h print short usage information and exit. --version, -v print version information and exit.EXAMPLESBasic example: $ datefudge "2007-04-01 10:23" date -R Sun, 01 Apr 2007 10:23:00 +0200 Non-static vs. static example: $ datefudge "2007-04-01 10:23" sh -c "sleep 3; date -R" Sun, 01 Apr 2007 10:23:03 +0200 $ datefudge --static "2007-04-01 10:23" sh -c "sleep 3; date -R" Sun, 01 Apr 2007 10:23:00 +0200AUTHORWritten by Matthias Urlichs <smurf@noris.de>. Modified by Robert Luberda <robert@debian.org>.BUGSThere is no attempt to make this change undetectable by the program. In particular, file modification times are not modified.COPYRIGHTCopyright (C) 2003 by Matthias Urlichs. Copyright (C) 2008-2011 by Robert Luberda. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of datefudge under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.SEE ALSOld.so(1), time(2), gettimeofday(2), clock_gettime(2) datefudge 1.17 June 23th, 2011 DATEFUDGE(1)
Related Man Pages |
---|
datefudge(1) - debian |
touch(1) - debian |
touch(1) - centos |
datetime.settimestamp(3) - php |
time::y2038(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
List files created between specific date and time |
substring |
Getting modified time & filename only |
how to sort by the date |
Filter date and time form a file using sed command |