[moneydance] Moneydance 2008 final, and related news

Fuzzy Fox fox at foxtaur.com
Mon Mar 31 18:25:07 EST 2008


rader at hep.wisc.edu <rader at hep.wisc.edu> wrote:
>
> xargs is good for this kinda thing... 
> 
>  find . -name '*.md' -print | xargs tar -cf - | pgp -cf > data.pgp

This works, but not for the reasons you think it does.

Xargs does not do anything special to make "-" filenames work, but
"find" has the effect of putting "./" in front of every path it
generates, so the pathname no longer begins with a "-" character.

Dave Saville <dave at deezee.org> wrote:
>
> I am using -- but what I really wanted to point out is that the 2008MD
> leaves files lying around that:
>  
> a) Might break things because of the leading - 
> and 
> b) Leaves *readable* files behind when you thought you had encrypted
> and wiped the readable ones.

In all fairness to MD, it has no idea that you were wanting to encrypt
and remove these files.  Indeed, this is really a scripting problem on
your part, but MD is certainly making your script's job a lot harder
than it needs to be.

I am curious how the files got removed, though.  Shouldn't the "rm"
command have run into the same problem that the "tar" command did, with
the "-" filenames?

-- 
 Fuzzy Fox <fox at foxtaur.com>
  "Why a man would want a wife is a big mystery to some people.
   Why a man would want two wives is a bigamystery."


More information about the moneydance-info mailing list