Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!brl.mil!moss From: moss@brl.mil (Gary S. Moss (VLD/VMB) ) Newsgroups: comp.sys.sgi Subject: Re: tar not working as advertised Message-ID: <13913@smoke.BRL.MIL> Date: 19 Sep 90 19:59:33 GMT References: <9009191022.aa05623@VGR.BRL.MIL> Sender: news@smoke.BRL.MIL Reply-To: moss@brl.mil Organization: Ballistic Research Laboratory Lines: 10 In article <9009191022.aa05623@VGR.BRL.MIL>, HCART@VAX.OXFORD.AC.UK writes: |> find / -local ! -type d -mtime -7 -type f -print | tar ca- |> |> as shown in TFM, nothing is written to tape. No, the tar command doesn't take the '-' (meaning read STDIN) as a key letter, but as an argument to the 'f' key, try "tar caf -". Note, the space after the 'f', I believe it is mandatory. RTFM carefully, -Gary