Search Results

Search: Posts Made By: nithyanandan
Forum: Red Hat 10-20-2011
3,852
Posted By Corona688
If your version of tar can read from stdin, you...
If your version of tar can read from stdin, you can do something like this to avoid storing hundreds upon hundreds of gigabytes of temporary files:



# create tapes
mkfifo tarfifo
tar -vcf...
Forum: Red Hat 10-20-2011
3,852
Posted By Corona688
You only get to do bs=...G if you have GNU dd. ...
You only get to do bs=...G if you have GNU dd.

Advertised tape sizes are very often inflated. We don't know his tapes actually are 600GB, i.e. whether that means real gigabytes or drivemaker's...
Forum: Red Hat 10-20-2011
3,852
Posted By galanom
Haven't thought of using dd to tell the truth. ...
Haven't thought of using dd to tell the truth.
But that's really tough to understand.

Can I propose

dd if=bigfile of=/dev/tape bs=600GB count=1 skip=0

and increase skip by one each...
2,835
Posted By Skrynesaver
the following works for me, though you may have...
the following works for me, though you may have to modify it to your specific needs (open the file directly, allow for spaces at the start of the record and other sanity checks etc...

#!...
2,835
Posted By Franklin52
Something like this? awk...
Something like this?
awk '!n{n=$NF}($NF>=n){print;n=$NF}/#/{print;n=0}' file
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy