Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th May 2007, 03:14 PM
jrmontg Offline
Registered User
 
Join Date: Nov 2004
Posts: 158
Problem with rsync exclude

I am trying to exclude a dir using rsync but the folder is included anyway. I am using FC6

my command is

rsync -vax --exclude=/mnt/hourly.0/var/www/html/Connections/ /mnt/hourly.0/webserver/var/www/html/ /var/www/html/

I am moving the files from /mnt/hourly.0/var/www/html/ to /var/www/html/ but I do not want the files in /mnt/hourly.0/var/www/html/Connections/ to be moved over to /var/www/html
Reply With Quote
  #2  
Old 8th May 2007, 12:56 AM
homey Offline
Registered User
 
Join Date: Feb 2005
Posts: 415
Try this
Code:
rsync -xav --exclude 'Connections/*' /mnt/hourly.0/webserver/var/www/html/ /var/www/html
Reply With Quote
Reply

Tags
exclude, problem, rsync

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync connectivity problem in systemimager.... snehal.lamture Using Fedora 0 23rd February 2009 02:59 PM
yum --exclude option doesn't exclude... Myrmornis Using Fedora 4 17th September 2007 06:36 PM
Problem with rsync after last update of fedora 2 Ilan Using Fedora 1 22nd August 2004 03:19 PM


Current GMT-time: 12:33 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat