piclist 2008\07\23\210847a >
Thread: Automatic Directory Compare Software?
face picon face BY : Josh Koffman email (remove spam text)

On Wed, Jul 23, 2008 at 5:29 PM, Herbert Graf <@spam@mailinglist4.....spamKILLspamfarcite.net> wrote:
> A quick and dirty way:
> ls /directory1 |sort > dir1_list
> ls /directory2 |sort > dir2_list
> diff dir1_list dir2_list | grep ">" > result
> then a little "vi" and you've built a copy script. To automate pipe
> result into a simple perl script that adds the appropriate copy command
> and does the copy.

Hm...should have mentioned that this machine is a Windows one.

That and I'm not as good at shell scripting as I used to (and I was
never really that good).

Thanks though!

A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
-Douglas Adams
<3e0a4bc40807231808v46d286a9q82ef7c0204110fdc@mail.gmail.com> 7bit

In reply to: <1216859360.9870.31.camel@E2140>
See also: www.piclist.com/techref/index.htm?key=automatic+directory
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Automatic Directory Compare Software?

month overview.

new search...