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

23600 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
 
 
 

Affiliate link: Security and privacy with NordVPN.
richms

23600 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

rphenix
901 posts

Ultimate Geek


  #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

23600 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 »

Amazon introduces new Echo devices
Posted 25-Sep-2020 11:56


Mad Catz introduces new S.T.R.I.K.E. 13 Mechanical Gaming Keyboard
Posted 25-Sep-2020 11:34


Vodafone NZ upgrades international submarine network
Posted 25-Sep-2020 09:09


Jabra announces wireless noise-cancelling airbuds, upgrade existing model
Posted 24-Sep-2020 14:43


Nokia 3.4 to be available in New Zealand
Posted 24-Sep-2020 14:34


HP announces new HP ENVY laptops aimed at content creators
Posted 24-Sep-2020 14:02


Logitech introduce MX Anywhere 3
Posted 21-Sep-2020 21:17


Countdown unveils contactless shopping with new Scan&Go tech
Posted 21-Sep-2020 09:48


HP unveils new innovations for businesses adapting to rapidly evolving workstyles and workforces
Posted 17-Sep-2020 15:36


GoPro launches new HERO9 Black camera
Posted 17-Sep-2020 09:45


Telecommunications industry launches new 5G Facts website
Posted 17-Sep-2020 07:56


New Zealand ranks 3rd in world in GSMA index
Posted 15-Sep-2020 10:13


Trend Micro Security Suite adds web monitoring to prevent identity theft
Posted 14-Sep-2020 15:37


NVIDIA to acquire Arm for US$ 40 billion
Posted 14-Sep-2020 12:27


Epson launches its next gen A3+ colour EcoTank multi-function printer
Posted 10-Sep-2020 16:08



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.