Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: s11976@net2.hkbu.edu.hk (Pui Ming WONG)
Subject: using find command to select files to backup
Date: 2000/07/19	[thread overview]
Message-ID: <8l3rme$prp$1@power25t.hkbu.edu.hk> (raw)

I would like to  backup files whose name meeting certain criteria
 onto 1 tar file from the /var/spool/mail
directory using the piping feature in unix command.
I've tried commands like:
cd /var/spool/mail
find . -name "[a-z][0-9]*" -print | tar cvf /somedir/somefile.tar -
find . -name "[a-z][0-9]*" | tar cvf /somedir/somefile.tar -
But they didn't seem to work 
What should be the command be ?
The OS is DG Unix 4.0E

--



             reply	other threads:[~2000-07-19  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-19  4:00 Pui Ming WONG [this message]
2000-07-19  4:00 ` using find command to select files to backup Peter da Silva
2000-07-20  4:00   ` P.M.Wong 
2000-07-26  4:00 ` steven bell
2000-07-28  4:00   ` Mike Mohr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox