Re: [newbie] transfering dirs/files
I wrote a Rexx script as part of the Electronic Software Distribution (ESD) systems I develop which uses the SysFileTree API to build a list of files and dirs for both the from and to, and notes differences by copying the file from the from to the to. Pretty quick and easy, built a hash table to speed up the locates in the array, or stem as they are called in Rexx. Rexx also makes it easy as you can use any set of chars to store the variable in a stem, whereas an array usually is partitioned into numbered units... file names are not really numbers usually. Don't know what languages you work with, but something like that would probably be a nice tool in your tool box. I'm on this newbie list because I am one when it comes to Linux... someday the code will be on Linux and then I would just ship it over. Sorry. Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/
Re: [newbie] transfering dirs/files
well...it worked for awhile...but stopped after an error it said delayed error found...or something like that... does TAR have a limit of how many files it will tar? or will it tar as many as you want? Greg Stewart wrote: What was you tar syntax? Did you tar a directory from just above it? If not, try the following: tar -cvpf filename.tar directoryname -c = create -v = verbose -p = preserve (permissions) -f = filename (the filename must come immediately after the 'f' or the next argument becomes the filename) Does this help? Or was this what you had done? --Greg - Original Message - From: "KompuKit" [EMAIL PROTECTED] I want to save and/or transfer my whole public_html directory to another drive on my computer...(have two) However, my public_html dir is very large, and I definitly want to save/transfer this whole dir...and at the same time, keep all case in tact...(upper/lower case) of filenames/directories. The last time I did this (using KFM) (thought it would be quicker), all the cases were changed somehowand I don't want this to happen this time...so HOW...do I do thisand save the case of all filenames/dirs ??? [note] tried to do it with tar but it wouldn't... -- Registered Linux User:167369 =KompuKit= Kit Goins ICQ# 7110071 [EMAIL PROTECTED] Lowell, Mass. Web Designerhttp://kitdesigns.bizhosting.com WebServer: http://kompukit.dyndns.org (Server Runs between M - F 6pm-12am, S S 12pm-12am EST) =KompuKit= __ Vous avez un site perso ? 2 millions de francs à gagner sur i(france) ! Webmasters : ZE CONCOURS ! http://www.ifrance.com/_reloc/concours.emailif -- Registered Linux User:167369 =KompuKit= Kit Goins ICQ# 7110071 [EMAIL PROTECTED] Lowell, Mass. Web Designerhttp://kitdesigns.bizhosting.com WebServer: http://kompukit.dyndns.org (Server Runs between M - F 6pm-12am, S S 12pm-12am EST) =KompuKit=
[newbie] transfering dirs/files
I want to save and/or transfer my whole public_html directory to another drive on my computer...(have two) However, my public_html dir is very large, and I definitly want to save/transfer this whole dir...and at the same time, keep all case in tact...(upper/lower case) of filenames/directories. The last time I did this (using KFM) (thought it would be quicker), all the cases were changed somehowand I don't want this to happen this time...so HOW...do I do thisand save the case of all filenames/dirs ??? [note] tried to do it with tar but it wouldn't... -- Registered Linux User:167369 =KompuKit= Kit Goins ICQ# 7110071 [EMAIL PROTECTED] Lowell, Mass. Web Designerhttp://kitdesigns.bizhosting.com WebServer: http://kompukit.dyndns.org (Server Runs between M - F 6pm-12am, S S 12pm-12am EST) =KompuKit=
Re: [newbie] transfering dirs/files
What was you tar syntax? Did you tar a directory from just above it? If not, try the following: tar -cvpf filename.tar directoryname -c = create -v = verbose -p = preserve (permissions) -f = filename (the filename must come immediately after the 'f' or the next argument becomes the filename) Does this help? Or was this what you had done? --Greg - Original Message - From: "KompuKit" [EMAIL PROTECTED] I want to save and/or transfer my whole public_html directory to another drive on my computer...(have two) However, my public_html dir is very large, and I definitly want to save/transfer this whole dir...and at the same time, keep all case in tact...(upper/lower case) of filenames/directories. The last time I did this (using KFM) (thought it would be quicker), all the cases were changed somehowand I don't want this to happen this time...so HOW...do I do thisand save the case of all filenames/dirs ??? [note] tried to do it with tar but it wouldn't... -- Registered Linux User:167369 =KompuKit= Kit Goins ICQ# 7110071 [EMAIL PROTECTED] Lowell, Mass. Web Designerhttp://kitdesigns.bizhosting.com WebServer: http://kompukit.dyndns.org (Server Runs between M - F 6pm-12am, S S 12pm-12am EST) =KompuKit= __ Vous avez un site perso ? 2 millions de francs à gagner sur i(france) ! Webmasters : ZE CONCOURS ! http://www.ifrance.com/_reloc/concours.emailif