Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


richms

26388 posts

Uber Geek

Trusted
Subscriber

#89988 13-Sep-2011 00:45
Send private message

Trying to set this up as a scheduled task on my machine so I actually get stuff downloaded in the offpeak time now that staying up till 1 or 2am isnt really viable to start it.

Anyway, everything online seems to blab on about it not being a good idea to store passwords etc and to make keypairs etc which I dont want to do and probably cant do, I just want to put the password on the command line like I can do with FTP, except that it doesnt support syncing differences which is important when there are incomplete things on the server that need to finish off later on.

The question is, how? I found mention of a RSYNC_PASSWORD= variable which does nothing.

I thought i would be able to stick it in a txt file and just put < password.txt on the command line, but again, didnt work, my .cmd file just stops at a password prompt.

--password-file also doesnt work, telling me "The --password-file option may only be used when accessing an rsync daemon." which is what I thought I was trying to do.

Any solutions other than resorting to some ghetto macrorecorder type solution?




Richard rich.ms

Create new topic
richms

26388 posts

Uber Geek

Trusted
Subscriber

  #520270 13-Sep-2011 01:17
Send private message

Nevermind, found another tutorial on doing the whole ssh key thing that actually worked, and it seems to be happy now. Still a lot more work than it should be.




Richard rich.ms

 
 
 
 

Lenovo computer and accessories deals (affiliate link).
rphenix
978 posts

Ultimate Geek

Lifetime subscriber

  #520962 14-Sep-2011 14:00
Send private message

There is an rsync that doesnt need to run inside cygwin and can work with a ssh server but I've had the odd issue in the past (mainly with unicode files)

DeltaCopy on windows to a *nix box with regular rsync works well.

Also this seems interesting http://www.yinter.net/ I havent tried it yet though.

richms

26388 posts

Uber Geek

Trusted
Subscriber

  #520992 14-Sep-2011 15:05
Send private message

It worked once I found that I had 2 cygwin home folders, one from a really old install of windows and thats where I was copying the cert stuff from, which was old and wrong.. Still cant get the stopping side of it working, but at least thats not a huge deal if it runs on after 7am




Richard rich.ms



lorenzo
91 posts

Master Geek


  #521556 15-Sep-2011 16:11
Send private message

richms: It worked once I found that I had 2 cygwin home folders, one from a really old install of windows and thats where I was copying the cert stuff from, which was old and wrong.. Still cant get the stopping side of it working, but at least thats not a huge deal if it runs on after 7am


If you use DeltaCopy (Windows RSYNC Client or Server) then password (windows account) and scheduling built in.

I use to rsync Windows files etc to my home NAS. Makes life easier than command line.

Create new topic





News and reviews »

Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18


Amazon Introduces All-New Echo Pop in New Zealand
Posted 23-Oct-2023 19:49


HyperX Unveils Their First Webcam and Audio Mixer Plus
Posted 20-Oct-2023 11:47


Seagate Introduces Exos 24TB Hard Drives for Hyperscalers and Enterprise Data Centres
Posted 20-Oct-2023 11:43


Dyson Zone Noise-Cancelling Headphones Comes to New Zealand
Posted 20-Oct-2023 11:33


The OPPO Find N3 Launches Globally Available in New Zealand Mid-November
Posted 20-Oct-2023 11:06









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.