home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!zazen!doug.cae.wisc.edu!umn.edu!dialup-slip-1-9.gw.umn.edu!user
- From: sells@cs.umn.edu (Chris Sells)
- Newsgroups: comp.unix.sysv386
- Subject: Re: cpio one file at a time?
- Message-ID: <sells-280891084956@dialup-slip-1-9.gw.umn.edu>
- Date: 28 Aug 92 13:51:01 GMT
- References: <sells-270891232504@dialup-slip-1-3.gw.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Followup-To: comp.unix.sysv386
- Organization: Spanlink Communications
- Lines: 23
- Nntp-Posting-Host: dialup-slip-1-9.gw.umn.edu
-
- In article <sells-270891232504@dialup-slip-1-3.gw.umn.edu>,
- sells@cs.umn.edu (Chris Sells) wrote:
- >
- > Is there a way to cpio one file at a time, process the file and continue?
- > For example, could I do something like this:
- >
- > cpio -oudBcv </dev/f1 |
- > while read file
- > do mv $file to /usr/$file
- > done
- >
- > ?? Thanx in advance.
-
- I'll need to pause between files to give me time to process each one before
- moving on the next one. The problem is that there isn't enough space for 30
- MB of files on the hard-disk before they're each moved to a non-UNIX file
- system.
-
- +-------------------------+
- | Chris Sells |
- | Spanlink Communications |
- | sells@cs.umn.edu |
- +-------------------------+
-