Re: How to generate a file difference report?
Re: How to generate a file difference report?
- Subject: Re: How to generate a file difference report?
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 24 Dec 2007 19:18:47 -0500
This should be most of what you need - both scripts' worth.
set changedFiles to paragraphs of (do shell script "rsync -avz " &
quoted form of POSIX path of latestFolder & space & quoted form of
POSIX path of workingFolder
On 12/24/07, Patrik B. <email@hidden> wrote:
> Hi,
>
> I am looking for a library or script that compares differences in images
> based on filenames as the stable datum, then modification date and filesize.
>
> Specifically I often get images for a pjt earlier and then later a revised
> set with all images again (whether revised or not). Instead of manually
> comparing files or just blindly overwriting I thought applescript can do
> this faster and tell me which ones are actually revised or new. I then can
> hand this data to a third script that I am writing that will just copy the
> files that I really need or rename the revised ones accordingly.
>
> In deatail I am now looking for something that will based on file names
> compare two folders with images each and then give me back the ones that are
> different in a list of names followed by the difference. The differences I
> am looking for are 1) differences in modification date and or 2) differences
> in filesize. 3) files that are not contained in both folders so are either
> totally new or were renamed.
>
> As I started to write the code for this I thought there might be already a
> library on this or script. Any ideas where I can find something like this so
> I don't have to start from scratch? The main part I am looking for is
> the "comparision" part of the script.
>
> Thanks! Patrik
>
> PS: Merry Xmas!
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden