create directories

tim.conway at philips.com tim.conway at philips.com
Fri Oct 26 05:21:20 EST 2001


"rsync -avp host::module/ ." - Simple commandline - here's what it says:

recursively copy the contents of host::module into the current directory, copy symbolic links, copy permissions, copy timestamps, copy group ownership, copy user ownership, copy device files.  be verbose, and copy permissions.  the copy permissions
duplication was intentional, as it's also in the options.

If, in fact, you want to create ./module, you need this: "rsync -avp host::module ."  The / at the end of the source says to use the contents of the source, not the source itself - a subtle but important difference.

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" '
"There are some who call me.... Tim?"


                                                                                                                                                  
                    Jason Helfman                                                                                                                 
                    <jhelfman at bizrate           To:  rsync at lists.samba.org                                                                        
                    .com>                       cc:  (bcc: Tim Conway/LMT/SC/PHILIPS)                                                             
                    Sent by:                    Subject:  create directories                                                                      
                    rsync-admin at lists                                                                                                             
                    .samba.org                  Classification:                                                                                   
                                                                                                                                                  
                                                                                                                                                  
                    10/25/2001 10:28                                                                                                              
                    AM                                                                                                                            
                                                                                                                                                  
                                                                                                                                                  




if i do an rsync to the current directory, how come the parent directory
isn't created?

I normally just get my files spewed into the current directory,
eventhough I am trying to transfer a directory.

Something like this

rsync -avp host::module/ .


--
Jason G Helfman
Network Administrator
BizRate.com
310.754.1264 desk
310.466.2319 cell

           Fingerprint: DA13 C109 072B CC12 B568  8D84 E9A2 6A7D C479 BCFB
            GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36









More information about the rsync mailing list