![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to remove all empty files within the directory structure? | cat123 | Shell Programming and Scripting | 5 | 06-05-2008 06:01 AM |
| copy files with directory structure | adddy | UNIX for Dummies Questions & Answers | 3 | 12-11-2006 05:50 AM |
| MV files from one directory structure(multiple level) to other directory structure | srmadab | UNIX for Advanced & Expert Users | 4 | 09-13-2006 01:01 PM |
| disk space used for files with in a directory structure. | kasala | Shell Programming and Scripting | 8 | 01-14-2005 01:26 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
If you find that the reason you can't tar a big file is that the file system sets a limit, it would seem reasonable to conclude that you ought to be able to tar it in smaller pieces. tar | split will allow you to break up the tar file in fragments which you can cat together at the other end.
Last edited by era; 04-27-2008 at 05:25 PM. Reason: Yes: for a change, a useful cat! (Sorry, couldn't resist) |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Well, then I wonder why you do bother with creating that tarball locally. Stream it using ssh and you're done.
|
|
#10
|
|||
|
|||
|
The server has OpenServer 5.0.5 which does not have ssh natively and it was never installed. It is on its way out from my server "park."
|
|
#11
|
|||
|
|||
|
Quote:
|
|
#12
|
|||
|
|||
|
I have GNU tar and GNU split and GNU tail. I don't know if those are available for SCO (lawsuit time? <ducks>) but you might be less lucky with the built-in variants, for example in whether split accepts human-readable big numbers (I calculated 1024*1024*512 and put that in here, but GNU split would allow simply "512m") and, more crucially, whether it can read standard input when you say "-"
Split demonstrated: Code:
vnix$ echo fnord | split -d -b 3 - fnord. vnix$ ls fnord.* fnord.00 fnord.01 vnix$ tail fnord.* ==> fnord.00 <== fno ==> fnord.01 <== rd Code:
tar whatever | split -a 4 -d -b 536870912 - whatever.tar. Dearchiving: Code:
cat whatever.tar.* | tar xvf - I've done this when I had to make backups to an USB drive which was FAT formatted so it only accepted (IIRC) max 2 gigs in one file, but this is untested, from memory. I suggest you try to create a big file with dd like fabtagon proposed, just to check that your coordinates are not completely off. Last edited by era; 04-28-2008 at 12:30 PM. Reason: Test with dd first |
|||
| Google The UNIX and Linux Forums |
| Tags |
| cpio |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|