Online computer courses, code, programming tutorial and sidebar information for monitoring Canadian S&P/TSX index. Build friendship and networking. Welcome to visit my blogs often!!! I also have two other sites: YouTube Channel and Google site.
Adsense
Popular Posts
- PHPWind-- A PHP forum script applcaition in China
- Datatable export excel wraptext and newline
- Promote your Forum/Blog/Website via major search Engines
- Google Adsense forum and pin number
- How to blend adsense inside your post?
- Install PHPMailer 5.2.4 and use smtp gmail
- Formatting my post
- PHP - Export Content to MS Word document
- Set up a child account and set screen time limit in Windows 8
- PHP: add a download as pdf file button in report page
Thursday, February 23, 2012
rsync in Windows, hidden files
I used rsync.exe from DeltaCopy for incremental backup to remote server in Windows. DeltaCopy can be downloaded from
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
Several issue need to fix
1) I used command line:
rsync.exe -v -rlt -z --chmod=a=rw,Da+x --delete "/cygdrive/C/Users/jiansen/Desktop/CAS/jiansen_dir/www_SCHS/" "//192.168.1.73/jiansen/JIANSEN-PC/www_SCHS/"
The final files are hidden in Windows.
This is because -x in cygwin equals to hidden files in Windows
# ls -ls *.txt
0 -rwxrw-rwx 1 user everyone 0 Nov 27 23:27 hidden.txt*
0 -rwxrw-rw- 1 user everyone 0 Nov 27 23:27 visible.txt*
You can find more information
http://forum.qnap.com/viewtopic.php?f=189&t=37351&hilit=QNAP+ReadyNAS+rsync
2) To view hidden files in Windows (but I prefer not to have hidden files)
just click on the Organize button at the top menu bar in any folder, and then select “Folder and Search Options” from the menu.
and select "show hidden files and folders"
3) The new command:
rsync.exe -v -rlt "//Jiansen-PC/Users/jiansen/Desktop/CAS/jiansen_dir/www_SCHS/" "//192.168.1.73/jiansen/JIANSEN-PC/www_SCHS/"
This command is for the final destination file attribute not hidden.
You may need to install cygwin
http://www.cygwin.com/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment