Using the command mget, you can fetch files with the program lftp. With mget -c you can continue an aborted download. But how do you download a directory recursively? No, mget -c -r does not work.
It is so simple:
mirror somedirectory
Don't forget to lcd into your download directory before.
2013-09-18
Working around connection problems with Emacs Tramp
From time to time I have to edit files on a SunOS 5.10 server. I use Emacs with tramp for this. However, after some time I get this error message from tramp:
File error: Couldn't find exit status of `test -e ...
It seems that the ssh connection goes bad for some reason. After this you won't be able to save the file anymore. You can work around this by running M-x tramp-cleanup-all-connections and then saving again.
File error: Couldn't find exit status of `test -e ...
It seems that the ssh connection goes bad for some reason. After this you won't be able to save the file anymore. You can work around this by running M-x tramp-cleanup-all-connections and then saving again.
2013-09-17
Anonymous (lambda) functions in Clojure
I am learning a bit of Clojure from time to time, and today I learned about shorthand notation for anonymous functions:
> (apply (fn [x y] (+ x y)) '(1 1)) 2Which is equivalent to:
> (apply #(+ %1 %2) '(1 1)) 2
Subscribe to:
Posts (Atom)