Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!linus!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!gwyn@BRL.ARPA
From: gwyn@BRL.ARPA (VLD/VMB)
Newsgroups: net.unix
Subject: Re:  file archiving
Message-ID: <445@brl-tgr.ARPA>
Date: Mon, 5-Aug-85 17:04:50 EDT
Article-I.D.: brl-tgr.445
Posted: Mon Aug  5 17:04:50 1985
Date-Received: Wed, 7-Aug-85 03:16:10 EDT
Sender: news@brl-tgr.ARPA
Lines: 14

$ # How to archive then delete user files not accessed for 90 days:
$ su
Password:
# cd name-of-user-filesystem
# find . ! -atime 90 -depth -print >/usr/tmp/FILELIST	# find files
# # (The above two can be combined if you like
# #  absolute pathnames in your tape archive.)
# cpio -ocB /dev/rmt/0m		# make tape
# cpio -icBtv  do	rm -f "$file"					# delete files
> done