On May 18, 2010, at 10:05 PM, cp21yos wrote:

> Right now I'm using "Find Differences…" in a multi-step pass where I
> manually marry up the various files or folders to acheive what is
> effectively a comparison of two BBEdit projects.

I hope you find a solution. This is a common problem in need of solving.

I do this all the time, where basically I end up comparing multiple directories 
from my workstation to the server. I use 'Synchronize! Pro X' to compare 
because it allows me to select/compare/backup/synchronize/etc  as many 
unrelated directories as I want to see what needs updating. 

When done comparing, I can  :

( 1 ) proceed with the changes,
( 2 ) open the documents by Cmd-Clicking on the line in question, 
( 3 ) reverse the direction of the transfer for any particular item or folder.
( 4 ) ignore changes to specific items or folders.
( 5 ) pull up BBEdit and compare specific folders

This works great with backups, or synchronization, but once I see what is going 
to be updated I find myself comparing the folders or items using BBEdit anyway.

So for me having a similar setup that would allow comparison of projects would 
be great, but on the bright side, BBEdit does allow you to select multiple 
folders for searching, and on that basis if you timestamp via clippings, 
quickeys, etc., you can easily find what has changed for any given date.

A similar clipping (with assigned key) to the one shown below could help the 
search/compare process.

// 
+---------+---------+---------+---------+---------+---------+---------+---------+
// Author               :       #USERNAME#
// Basename             :       #BASENAME#
// Filename             :       #FILENAME#
// Created              :       #creationdate# : (#creationtime#)
// 
// Updated by   :       #USERNAME# - 
[#yearnum#.#monthnum#.#monthdaynum#](#time#)
+---------+---------+---------+---------+---------+---------+---------+---------+

I tend to use :

BBEdit -> FIle -> Open from FTP/SFTP Server...

all the time, make changes, view them via the web browser, and then synchronize 
the changes with my workstation using BBEdit via a script that I wrote.

 If I open/modify any  FTP/SFTP document, by running either of my scripts the 
documents are instantly synchronized to the local matching document via BBEdit.

I realize that most people might not want to make the changes on the server, 
but since the scripts :

sftp_get_matching_document.scpt
sftp_update_matching_document.scpt

only work if you have a document open on the server via FTP/SFTP and ask BBEdit 
to find and compare the local matching document, I have to proceed in this 
manner. I've gotten used to working backwards. If you have the local document 
open and ask BBEdit to open the matching FTP/SFTP document, it doesn't have any 
way to do that, so the reason for working on the server document then syncing 
to the local document has to do with what BBEdit can do. 

BBEdit can easily find the matching local document if it knows what FTP/SFTP 
document you are working with...

You can always reverse the changes when you compare if you change your mind.

I wrote two simple (very short) tutorials on how to use this method along with 
downloadable scripts:

http://www.journey-of-flight.com/index.php

look under :  Some Programming Stuff...    -->  BBEdit

Best Regards,

Bill Hernandez
Plano, Texas


-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to