Using mkdir from rsync

This is a discussion on Using mkdir from rsync within the Rsync forums, part of the Networking and Network Related category; Hi all, When using rsync to copy a full directory path to another machine in my network, like dir1/dir2/...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-23-2008
Manuel García
 
Posts: n/a
Default Using mkdir from rsync

Hi all,

When using rsync to copy a full directory path to another machine in
my network, like dir1/dir2/dir3/, mkdir fails because it have to
create dir1 and dir2 prior to dir3, non of the 3 directories exist in
the remote machine, so mkdir needs the -p option to do that, my
question is: is there any way i can tell mkdir use the -p option when
invoking from rsync?

--
Manuel Garcia
Administrador de redes y servidores
Corporacion Lynqus
Debian GNU/Linux 4.1
codename "Lenny"
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0