Message from discussion
Save copy of file in another directory
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!wesley.videotron.net!news.cae.ca!not-for-mail
From: "Richard" <n...@available.com>
Newsgroups: comp.emacs,gnu.emacs.help
Subject: Re: Save copy of file in another directory
Date: Mon, 10 Dec 2001 11:46:43 -0500
Organization: disorganized
Lines: 39
Message-ID: <9v2otq$4o0$1@dns3.cae.ca>
References: <f7a73ade.0112060122.11e96d85@posting.google.com> <3C0F3BC7.211D212F@is.elta.co.il> <871yi8zml0.fsf@tleepslib.sk.tsukuba.ac.jp> <3C0F5298.4ECDDFAA@is.elta.co.il> <f7a73ade.0112060731.46549dc@posting.google.com>
NNTP-Posting-Host: p2312.cae.ca
X-Trace: dns3.cae.ca 1008002810 4864 142.39.109.137 (10 Dec 2001 16:46:50 GMT)
X-Complaints-To: usenet@news.cae.ca
NNTP-Posting-Date: 10 Dec 2001 16:46:50 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Well if you want to have your D: be a complete backup of your C: you'd be
best off to start from the command prompt, go to D:\backup\eric type
xcopy /s /e c:\eric\*.*
where /s says copy subdirectories, and /e says empty ones too
then you wouldn't have to worry about creating directories because the whole
structure would already be there. and could use the shadow package that was
mentioned
Richard
"Eric Hobsbawm" <e_hobsb...@hotmail.com> wrote in message
news:f7a73ade.0112060731.46549dc@posting.google.com...
> Eli Zaretskii <e...@is.elta.co.il> wrote in message
news:<3C0F5298.4ECDDFAA@is.elta.co.il>...
> > Stephen J. Turnbull wrote:
> > >
> > > Er, if I understand Eric correctly, he wants something slightly
> > > different -- he wants a "mirror" of the current version.
> >
> > Right, sorry. I guess I was confused by the "Backup" in D:\Backup\eric.
> >
> > shadowfile.el seems to do what Eric wants.
>
> Yes, you're right. It's a "shadow" that I want to do and not a backup.
> shadow-file seems to almost do what I want, but there are two things
> that I need:
> 1. I want to specify a directory to shadow.
> 2. If the target directory doesn't exist I want to create it.
>
> It seems that shadow-file doesn't create directories and that's a big
> limitation for me.
>
> regards
> /Eric