![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| read list of filenames from text file and remove these files in multiple directories | fxvisions | Shell Programming and Scripting | 5 | 08-07-2008 04:59 PM |
| cd to multiple directories and gzipping files within | sunsysadm2003 | Shell Programming and Scripting | 0 | 10-30-2007 05:50 PM |
| copy multiple files in different directories | ken2834 | UNIX for Dummies Questions & Answers | 3 | 03-25-2007 02:35 PM |
| Search for files in multiple directories | ravikirankethe | UNIX for Dummies Questions & Answers | 7 | 10-29-2006 05:29 PM |
| FTP multiple files to different directories | abrd600 | Shell Programming and Scripting | 12 | 09-23-2004 08:56 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
get files from multiple directories using FTP
Hi,
I need to download multiple files in multiple directores from other Unix server. The files could have been created by differnet user. I can use root account but I want the preserve the owner and time of the remote file. Need help on how I can do this using FTP. Thanks, Amit |
|
||||
|
1. Using FTP, before downloading, usr dir or ls to get the owner, group and attributes of the file, then set them after download.
2. Use SSH and invoke tar & gzip on the far side, ungzip and untar on the client side with the option to maintain owner, group and attributes. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|