Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

SETDATE AmigaDOS
Purpose: Change the timestamp of a file or directory.
Format: SETDATE <file> | <pattern> [<weekday>] [<date>] [<time>] [ALL] [QUIET] [FILES] [DIRS]
Template: FILE/A, WEEKDAY, DATE, TIME, ALL/S, QUIET/S, FILES/S, DIRS/S
Path: C:SETDATE
SETDATE changes the timestamp, the date and time of the creation or last change, of a file or directory.

SETDATE <file> changes the date/time of the file to the current system date/time.
SETDATE <pattern> FILES changes the date and time of all the files matching the pattern entered.
SETDATE <pattern> DIRS changes the date and time of all the subdirectories matching the pattern entered.
SETDATE <pattern> ALL changes the date and time of all the files and subdirectories matching the pattern entered.

The QUIET option suppresses the screen output.

The system clocks are not affected by SETDATE.

You can use output from the DATE command as input to SETDATE.

Example 1:

3.OS4:> SETDATE TestFile changes the date and time associated with TestFile to the current date and time.

Example 2:

3.OS4:> SETDATE TestFile 09-02-06 13:45:32 Changes the date and time associated with TestFile to February 9, 2006, 1:45 p.m.

See also: DATE


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.