Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmold(cmds) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RMOLD  —  User Commands

NAME

rmold − Delete old files

SYNOPSIS

rmold [options] numDays file file ...

OPTIONS

−modUse modify time instead of access time to control deletion. 

−printDo not actually delete any files;  just print a list of those that would be deleted. 

−timesFrom directory
For each file, get the access (or modify) time from directory/file instead of from file.

−helpPrint a summary of the command-line options and exit without updating any targets. 
 

DESCRIPTION

The rmold program deletes all of the named files that haven’t been accessed in the last numDays days.  It prints the names of all the files it deleted.  If the -mod switch is given, then rmold deletes all the files that haven’t been modified in numDays days.  If -print is specified then rmold prints the names of files that haven’t been accessed (or modified) in numDays, but it doesn’t delete any of them. 

If timesFrom is specified, rmold will use the access (or modify) time of the same-named file in the given alternate directory.  This option lets you delete old backup files after the installed version of the file has been around for awhile.  For example, to delete backup copies of commands that were installed over 90 days ago, you could do something like  cd /sprite/cmds.$MACHINE.old  rmold -mod -timesFrom /sprite/cmds.$MACHINE 90 ∗
 

KEYWORDS

access, delete, modified, old

Sprite version 1.0  —  March 12, 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026