next question: remote-test / remote-home ?
Sean Whitton
spwhitton at spwhitton.name
Wed Aug 3 20:23:51 BST 2022
Hello,
On Wed 03 Aug 2022 at 06:07pm +01, Andreas Reuleaux wrote:
> Maybe I have to create (just) a property w/ defprop ? - Just a boolean
> test, really, if a (remote) file .bashrc.orig exists in a (remote) home
> directory? How?
Yes, exactly. Something like
(defprop foo :posix ()
(:check (remote-exists-p ".bashrc.orig."))
(:apply (mrun "mv" ".bashrc" ".bashrc.orig")))
--
Sean Whitton
More information about the sgo-software-discuss
mailing list