The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File transfer between unix and windows server Tlg13team HP-UX 2 02-08-2008 10:40 AM
Transfer file from local unix server to remote server indira Shell Programming and Scripting 2 05-03-2007 07:35 AM
Transfer file from local unix server to remote server indira HP-UX 2 05-02-2007 06:15 PM
program to transfer a file from client machine to server nathgopi214 High Level Programming 3 07-04-2006 07:16 AM
server Hangs during FTP transfer sgoundar Filesystems, Disks and Memory 0 05-21-2006 07:33 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-16-2008
krishnadvn krishnadvn is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 3
How to Transfer whole file sys from one server to another

Hi,

well i am not that good in shell prog. and just shifted to do this work.
i was assigned to look all the dir/ sub-dir in a folder like /usr who are the owners, users and groups for the respective dir/sub-dir.
its really a hectic process to see each n every file.
i used the command... find . -type d -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
but its displaying only the files. i need the info abt the dir,owner,groups,users as well.
for that is there any command.



now i need to create the same file structure in diff servers.
i need help regarding this. i dont have any clue??
for this do i need to create a script? or any other method?
if its a script any suggestions.

need to start this by weekend. so need this ASAP.


can anybody help me in this please. that would be a great help.

waiting for your response...

Thanks,
Krishna

Last edited by krishnadvn; 09-16-2008 at 07:56 PM..
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0