Page 2 of 2
Posted: 30 Jun 2008 20:01
by arty2k
admin wrote:jacky wrote:arty2k wrote:Sometimes I need to know if a file in one folder is the same as a file in another folder
You know, to do so you could simply copy (Ctrl+C) the first file, then select the second one and use menu "Edit|Compare|Compare Current File With File On Clipboard"
XY will tell you whether or not the files are the same, based on sizes first, and if sizes are identical based on their actual content. (Note that it only works for files < 2 147 483 647 bytes)
Yes, and XY's comparison is of course much faster than calculating any sort of checksum, let alone doing this for each file in a list (that would be real slooooooooow...).
Not so easy when web assets such as CSS and images linked via CSS must be compared.
Posted: 30 Jun 2008 20:27
by admin
arty2k wrote:admin wrote:jacky wrote:arty2k wrote:Sometimes I need to know if a file in one folder is the same as a file in another folder
You know, to do so you could simply copy (Ctrl+C) the first file, then select the second one and use menu "Edit|Compare|Compare Current File With File On Clipboard"
XY will tell you whether or not the files are the same, based on sizes first, and if sizes are identical based on their actual content. (Note that it only works for files < 2 147 483 647 bytes)
Yes, and XY's comparison is of course much faster than calculating any sort of checksum, let alone doing this for each file in a list (that would be real slooooooooow...).
Not so easy when web assets such as CSS and images linked via CSS must be compared.
I'll add a scripting command
compare result, file1, file2 later... might help a bit.
Posted: 01 Jul 2008 09:53
by arty2k
admin wrote:arty2k wrote:admin wrote:jacky wrote:arty2k wrote:Sometimes I need to know if a file in one folder is the same as a file in another folder
You know, to do so you could simply copy (Ctrl+C) the first file, then select the second one and use menu "Edit|Compare|Compare Current File With File On Clipboard"
XY will tell you whether or not the files are the same, based on sizes first, and if sizes are identical based on their actual content. (Note that it only works for files < 2 147 483 647 bytes)
Yes, and XY's comparison is of course much faster than calculating any sort of checksum, let alone doing this for each file in a list (that would be real slooooooooow...).
Not so easy when web assets such as CSS and images linked via CSS must be compared.
I'll add a scripting command
compare result, file1, file2 later... might help a bit.
I just wanted to see how many nested quote boxes we could make...
Ok, really, how about compare file to URL?
Posted: 01 Jul 2008 10:47
by admin
arty2k wrote:admin wrote:arty2k wrote:admin wrote:jacky wrote:
You know, to do so you could simply copy (Ctrl+C) the first file, then select the second one and use menu "Edit|Compare|Compare Current File With File On Clipboard"
XY will tell you whether or not the files are the same, based on sizes first, and if sizes are identical based on their actual content. (Note that it only works for files < 2 147 483 647 bytes)
Yes, and XY's comparison is of course much faster than calculating any sort of checksum, let alone doing this for each file in a list (that would be real slooooooooow...).
Not so easy when web assets such as CSS and images linked via CSS must be compared.
I'll add a scripting command
compare result, file1, file2 later... might help a bit.
I just wanted to see how many nested quote boxes we could make...
Ok, really, how about compare file to URL?
Okay, I add another nesting level: URL with images linked via CSS?... come on, that sounds more like a job for a sophisticated compare application.
Actually, I've made some tests some weeks ago for doing a simple FTP via scripting, and it's looking good. I also can easily download a file from the web into a variable (holding the contents) (this scripting command will come soon...), but linked files... no, I won't go that far.
Posted: 01 Jul 2008 10:54
by arty2k
admin wrote:arty2k wrote:admin wrote:arty2k wrote:admin wrote:Yes, and XY's comparison is of course much faster than calculating any sort of checksum, let alone doing this for each file in a list (that would be real slooooooooow...).
Not so easy when web assets such as CSS and images linked via CSS must be compared.
I'll add a scripting command
compare result, file1, file2 later... might help a bit.
I just wanted to see how many nested quote boxes we could make...
Ok, really, how about compare file to URL?
Okay, I add another nesting level: URL with images linked via CSS?... come on, that sounds more like a job for a sophisticated compare application.
Actually, I've made some tests some weeks ago for doing a simple FTP via scripting, and it's looking good. I also can easily download a file from the web into a variable (holding the contents) (this scripting command will come soon...), but linked files... no, I won't go that far.
Fair enough.
In this day and age, most deployments are being done via remote SVN update or export scripts-which takes care of most of the issues of out of date image assets. Thank you for the compare feature-it was a good choice.
Posted: 01 Jul 2008 14:04
by jacky
admin wrote:Actually, I've made some tests some weeks ago for doing a simple FTP via scripting, and it's looking good. I also can easily download a file from the web into a variable (holding the contents) (this scripting command will come soon...)
/me gets excited

Posted: 01 Jul 2008 16:39
by serendipity
jacky wrote:admin wrote:Actually, I've made some tests some weeks ago for doing a simple FTP via scripting, and it's looking good. I also can easily download a file from the web into a variable (holding the contents) (this scripting command will come soon...)
/me gets excited

Me too, a simple ftp would be a great addition. Especially since, windows already has it.
Posted: 02 Jul 2008 11:17
by jacky
serendipity wrote:Me too, a simple ftp would be a great addition. Especially since, windows already has it.
Actually, I was more excited about the "readFileFromUrl" thing myself

but sure!