Home > Oracle > Rsync creating \#015 directory

Rsync creating \#015 directory

receiving file list … done
created directory /cygdrive/c/mikestuff/scripts/bin/\#015

When you are running an rsync  from windows transferring files from linux to windows you will find that its creates  a directory named “#015” (the weird dot) inside of the  directory

Using a script server-download.sh using cygwin which contains

rsync -trzv michael.desouza@host:/home/michael.dsouza/bin/* /cygdrive/c/mikestuff/scripts/bin/

to prevent this happening  you need to dos2unix the script server-download.sh

Useful utility

tracks/synchronizes changes in both directions, i.e., files changed on server1 will be replicated to server2 and vice versa.

http://www.cis.upenn.edu/~bcpierce/unison/

https://www.howtoforge.com/setting-up-unison-file-synchronization-between-two-servers-on-ubuntu-11.10

Advertisements
Categories: Oracle
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: