Not so easy when web assets such as CSS and images linked via CSS must be compared.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...).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"arty2k wrote:Sometimes I need to know if a file in one folder is the same as a file in another folder
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)
Show shell context menu on favourite folders and files
-
arty2k
- Posts: 9
- Joined: 29 Jun 2008 07:21
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
I'll add a scripting command compare result, file1, file2 later... might help a bit.arty2k wrote:Not so easy when web assets such as CSS and images linked via CSS must be compared.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...).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"arty2k wrote:Sometimes I need to know if a file in one folder is the same as a file in another folder
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)
FAQ | XY News RSS | XY X
-
arty2k
- Posts: 9
- Joined: 29 Jun 2008 07:21
I just wanted to see how many nested quote boxes we could make...admin wrote:I'll add a scripting command compare result, file1, file2 later... might help a bit.arty2k wrote:Not so easy when web assets such as CSS and images linked via CSS must be compared.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...).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"arty2k wrote:Sometimes I need to know if a file in one folder is the same as a file in another folder
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)
Ok, really, how about compare file to URL?
-
admin
- Site Admin
- Posts: 66300
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
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.arty2k wrote:I just wanted to see how many nested quote boxes we could make...admin wrote:I'll add a scripting command compare result, file1, file2 later... might help a bit.arty2k wrote:Not so easy when web assets such as CSS and images linked via CSS must be compared.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...).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)
Ok, really, how about compare file to URL?
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.
FAQ | XY News RSS | XY X
-
arty2k
- Posts: 9
- Joined: 29 Jun 2008 07:21
Fair enough.admin wrote: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.arty2k wrote:I just wanted to see how many nested quote boxes we could make...admin wrote:I'll add a scripting command compare result, file1, file2 later... might help a bit.arty2k wrote:Not so easy when web assets such as CSS and images linked via CSS must be compared.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...).
Ok, really, how about compare file to URL?
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.
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.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Me too, a simple ftp would be a great addition. Especially since, windows already has it.jacky wrote:/me gets excitedadmin 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...)![]()
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
XYplorer Beta Club