Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Ghost on September 05, 2002, 08:07:15 PM
-
Hi
Can anyone help me im looking to doing this on my sme server please see below
i want to run a script or command line to find 4GB's of files and put them to one side if im searching a 18GB directory and then another 4GB until it cant find any more
I want to do this for backup purposes so if any you guys can help that would be fantastic
Thanks again
Ghost
-
Are you talking about create multiple archives, each 4GB to avoid the file system limitation? I believe the technical term is called "Spanning".
-
i think so yes what it is im using tar to create the files and all together it comes to 18GB's but i want to spilt the files after taring them into 4GB's files
Would i use perl or find or both
Thanks for any help at all
ghost
-
Don't know if this is what you are looking for:
http://ww.caw.co.za/phorum/read.php?f=1&i=23&t=23
It shows how to use tar to span to multiple files
Jaco
ghost wrote:
>
> i think so yes what it is im using tar to create the files
> and all together it comes to 18GB's but i want to spilt the
> files after taring them into 4GB's files
>
> Would i use perl or find or both
>
> Thanks for any help at all
>
> ghost
-
will check out!
thanks Jaco
Ghost
-
Keep in mind you can use tar to create archives of a specified size. Check out the -L flag.
Or you could create a single tarball and use the "split" command to divide that tarball.
-
will check nathan thanks for your time on this will get back if stuck
thanks again guys
Ghost