LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2013, 04:51 AM   #1
boby.kumar
Member
 
Registered: Mar 2013
Posts: 92

Rep: Reputation: Disabled
rsync not deleting the destinations


Hi Friends

I am trying rsync the remote machine with the following syntax...

rsync -vhzrplt --stats --delete /root/test/* destiantion:/root/new/

Passwordless ssh is enabled for this. Also crontab.

Here rsync is not deleting the destination while deleted from the source.

can any one have idea why its not deleting the destinations?

Best Regards
 
Old 11-14-2013, 05:55 AM   #2
boby.kumar
Member
 
Registered: Mar 2013
Posts: 92

Original Poster
Rep: Reputation: Disabled
Got the answered.

rsync with delete no work for wildcards(*). it should be a dir/.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync -avz is deleting files from the destination wh33t Linux - Software 9 06-01-2012 03:32 AM
Rsync deleting files from destination directory Russell P Linux - Newbie 2 07-14-2011 12:07 PM
rsync not deleting folders on remote machine alexandersv Linux - Software 2 09-03-2008 11:15 AM
Rsync keeps deleting another dir subzero80 Linux - Software 8 01-15-2008 04:14 PM
rsync not deleting bwilliam79 Linux - Software 1 10-04-2004 06:22 PM


All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration