Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-14-2013, 03:51 AM   #1
Registered: Mar 2013
Posts: 94

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, 04:55 AM   #2
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
Got the answered.

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


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 02:32 AM
Rsync deleting files from destination directory Russell P Linux - Newbie 2 07-14-2011 11:07 AM
rsync not deleting folders on remote machine alexandersv Linux - Software 2 09-03-2008 10:15 AM
Rsync keeps deleting another dir subzero80 Linux - Software 8 01-15-2008 03:14 PM
rsync not deleting bwilliam79 Linux - Software 1 10-04-2004 05:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:30 AM.

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