home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / sysv386 / 13726 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.2 KB

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