Or..
your personal copy v/s live copy using Beyond Compare
You'll know exactly what was changed. Since you appear to be using SVN, your personal copy IS your latest svn copy.
Also, timestamps on the server files. :)
Beyond Compare never makes it onto those lists :-/
It has been my must-have for 20 years now. I always find other IT guys that rely on it as well.
It is a fantastic comparison tool. For IT admins it can find every difference in an entire directory structure (with definable rules). You can then do side-by-side comparisons of INI files and things - it even does spreadsheets. Developers can use it to find code changes in large projects as well.
This tool has gotten me out of endless problems. People often wonder how I can solve things so quickly or speak with such confidence about the integrity of a specific implementation - I tend not to divulge my secret ;-)
Ok, I literally laughed out loud. Not just a slightly louder exhale through the nose, an actual laugh :)
This was done by Beyond Compare 4. It's not a free program, but it's worth every penny. I searched for this picture on Google Image Search (it was bound to find it) and I just compared the two images. The image that Google found was the original (sans Alonso).
Are the block sizes of your disk different? If they are wildly different you could effectively be using up more space with the same file set depending on a few variables.
I usually use /MIR if I am going to run robocopy multiple times over a span of time like say a week before a change. The /MIR mirrors the directories and will delete files in the destination drive if the source has been deleted since the prior robocopy. I've had users move sets of files when prepping for share moves and then robocopy copies a second set of the files if I don't do /MIR. /ZB seems to allow continuation of the original job so it may allieviate this problem but I haven't used it so I'm not sure exactly how that one works.
If all else fails download a trial copy of beyond compare to evaluate the two locations against each other. You can filter visually for orphans (files that only exist on one side or the other) and differences which may help pinpoint what's going on. I think it's a 30 day trial and given you only probably need to use it once it is the perfect tool to audit the files. http://www.scootersoftware.com/download.php
Good luck
If you are going to use folders, I would set up them up geographically like: \server\state\county\city. I use that for county or city specific data, but also have folders within the state organized by type like \server\state\transportation or \environmental, etc. But like /u/ilsaz says it's more important to be organized and for it to make sense for you and anyone else that has to access that data. Nothing more frustrating than trying to find data.
It's easy to start with good intentions, but we deal with SO much data, it's very easy for it to get out of control. One of your best friends will be a software called BeyondCompare One of the best $50 I have turned in for expenses.
edit: finished a sentence!
I personally use:
Beyond Compare from http://www.scootersoftware.com/ (30 day trial)
But you can do it with robocopy. Test this before using it. Ie do it with a test source 1/2.
robocopy source source2 /L /NJH /NJS /NP /NS
And for diffing software to go with the version control, I'm going to mention Beyond Compare.
I was hesitant to pay $50 as a hobbyist when there are lots of free ones, but never regretted it. Living with the various free text-diff software I tried was never nice, and it's fantastic being able to use the same interface for diffing and visualizing not just text, but graphics files, directories, .zip/.cab files, .exe/.dll files, binaries in hex etc.
It integrates with Windows Explorer, tortoiseGit, tortoiseSvn etc.
It's cross‐platform, but I can only speak for Windows (and I got extra value from my $50 because I use it for my day job).
Beyond Compare is great for that. It's one of it's built in functions called snapshots. Folder Compare > Tools > Save Snapshot then just compare against the snapshot. Take a new snapshot anytime you make changes. http://www.scootersoftware.com/download.php
The other answers are correct. To see exactly what Sublime is doing to the data though, you could try using a diff tool like BeyondCompare or something to show the two files side by side and see the differences. Since it's a binary file, you'll want to use a tool that can show you the data in hex. It's not going to be terrible useful to see this, but if you want to know exactly what has changed between the two, this is how you could do it.
Try beyond compare (http://www.scootersoftware.com/)
It's not free, but it's the best diff/merge tool I've used, and I think it would do what you want with whitespace. It's diff rules are extremely customizeable (e.g. I've used a regex to ignore changes in GUIDs where they were dynamically generated at runtime).
The trial should at least let you know if it's worth what it costs -- my work pays for it for us. I think our people who don't use it use KDiff.
It's my diff/merge tool for git and is great with 3-way merges as well as 2-way diffs.
Beyond Compare - a tool programers use to find the delta between folders and text files also includes a very easy to use image comparison tool. The trick is going to be getting the picture's land marks to line up enough using some assumed tolerance that is low enough to detect changes. The higher resolution the better.
https://www.youtube.com/watch?v=AKsbjFX4GN8 - quickly found guide
Don't get me wrong, it's a good platform. Probably more of a beginners playground but I still know some hard core devs that use it too. Honestly it comes down to preference, if you like having your ftp built right in and the design view, there ya go...dreamweaver is your baby.
However, many like myself prefer Sublime Text and the add ons that come with it like emmet, linters, and much more. I believe Emmet has a version for dreamweaver(HERE) as well if I am not mistaken.
I use Sublime text for my coding and then I use Beyond Compare for my FTP tool. Beyond Compare shows you a side by side comparison and shows you exactly where there are changes that were made, give it a look man.
Keep on experimenting and find what is right for YOU.
Ansible would not be your tool of choice for this. "Beyond Compare" http://www.scootersoftware.com/ would probably be a better tool for something like this. There are probably others out there as well, but again, Ansible is not the tool of choice for this task.
if you want to pay for one beyond compare - http://www.scootersoftware.com/ works pretty well If you script a bit you can try
I love beyond compare for file comparisons. I used to have a setup with 18 app server processes and 24 web server processes running. Being able to see slight differences in config file was a life saver at times.
http://www.scootersoftware.com/features.php?zz=features_focused
So do you have the communications running well? You can upload files and get back temps? What exactly are you trying to do next?
If you want to diff directory trees, Beyond Compare simply can't be beat. If you need to diff images, especially for visual comparison, Visual Similarity Duplicate Image Finder is well worth the $25 license fee.
I use Beyond Compare from Scooter Software on a daily basis for work on both Mac and PC and I am in love with the software and their support team (usually for when I want to do something dumb/complicated). I even bought a multi-platform license for home!
I think it runs in demo mode if you want to give it a try.
Beyond Compare is a nice tool http://www.scootersoftware.com/
It's very fast...i use it to sync files between 2 folders/Discs e.g. local and ftp too
Edit: if you are searching a command line utility...I would use rsync
I only have experience with Beyond Compare on Macs/PCs, but Ubuntu should be the exact same. I would read a tutorial about how to use it, but this screenshot is essentially what you will see http://www.scootersoftware.com/features.php?zz=screenshot&shot=FolderSync
BC will go through your entire hard drive and list the entire directory. When I use it I put the original folder (Or HD in this case) in the left column, make sure UPDATE RIGHT is selected or else you'll waste away the bad HD. Then I put the target folder on the right, and you click Sync. It goes through file by file by file copying it over and copying the exact same files and format and structure onto the target folder. If a file can't be moved, it will show in the log in red (And then also show on the larger window). Again I can't emphasize enough about reading a tutorial about it just so you don't mess up the HD, but this should get the job done.
Beyond Compare supports paths up to 32,000 characters long for Windows shares when the underlying file system is NTFS.
NTFS supports up to 32,767 characters, but Windows Explorer and most other Windows applications top out at the MAX_PATH value of 260 characters (MSDN).
You can do this with Beyond Compare and the Windows Task Scheduler.
First, automate Beyond Compare from the command line using Beyond Compare's built in scripting support. Then configure the Windows Task Scheduler to run the Beyond Compare script at your preferred time.
See Beyond Compare's help file topic Scheduling a Script for more details.
BeyondCompare works very well and is fairly intuitive. It can do multiple-way comparisons, and even show you the difference between two versions of the same file with an in line browser.
Can you explain? I know SVN merges suck but I use Beyond Compare to keep things easy. Yes, there are breaks in the linage, going back from branches to trunk, but no one seems to care about that.
EDIT: I just learned Beyond Compare ties into everything I use, so no more linage breaks, yay.
Seriously, check out Beyond Compare. You can compare folders or files side by side and even merge them.
It’s one of the many tools that my co-founder has brought to our team.
If you want to know the change just dowload the archive of tha last version with this extension https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin , also download the previous copy of the extension zip file/crx file.
Use "Beyond Compare" software to compare the 2 zip files to see the changes: http://www.scootersoftware.com
I use the copy functionality of Beyond Compare and it copies the files pretty fast and shows the amount of data copied as well. That’s not what the software was made for but it serves the need when I want to transfer files from my iPhone and Android device.
My meaning might not have been clear in my previous message.
I use Beyond Compare because it handles non-text files really well, including Excel.
I use Vim for all my editing, and I very highly recommend Beyond Compare. The pro version costs money, but it's well worth it, and it's a small software shop with great support. They also have a very generous trial version that's based on how many days you actually use it, rather than X days from activation.
It's fully supported as a git diff/merge backend, out of the box is very smart and easy to use, and is endlessly customizable for whatever you need.
I've been using it for years, and have nothing but good things to say about it. If I had to...the interface is a bit spartan, and the configuration is expensive and can thus get hairy. But neither of those should be problems for the average (Neo)Vim user.
Download it, give the trial a run, it's at least worth a try. Fully supported on Mac and Linux as well. Not a shill I promise, just a very happy long-time user!
One little configuration tweak I recommend (and this goes for all diff software where available): enable "Patience Diff". I've found it does a much better job of matching braces and code blocks in the way I expect.
Also, if you're not aware of the -d flag to git diff
, check it out - BC supports it very nicely as well.
I use Beyond Compare (http://www.scootersoftware.com/) to verify that a site has migrated successfully, but that's for a comparison of the directory structure and contents on each host.
It sounds like what you're trying to do is traverse through the actual web site on each host and compare those two. I think the only way to do that would be to download the HTML from each page in the site exhaustively, then compare those. Due to subtle differences in hosting infrastructure, etc., you might see variations in output that aren't really significant, though.
It's an interesting approach and could be quite useful in that it would tell you that the underlying database migrated successfully and whether any configuration on the new server broke formerly working functionality.
You might have some success using "wget" to download the HTML, then again something like Beyond Compare to do the comparison. I don't know of any tool that performs both those tasks together, though.
git difftool
is pretty configurable, even in Windows (e.g. BeyondCompare, Meld, etc).
Now if only I could get git log
/-i
to behave nicely with NP++ running inside Powershell. Meh, I guess I'm getting better at vim.
I'm sorry I might have not understood what you meant. By order I though you meant the below folders, coming out in that specific alphabetical order (Which only matters aesthetically).
I've never used it on Linux, but Beyond Compare http://www.scootersoftware.com/download.php will allow you to copy your entire G:\ Drive (The bad one) and move it to a folder on your larger external HD keeping all of the folders/files in their corresponding directory's with the right extensions, etc. It also will have a log showing you if it was unable to copy anything over (Due to either permissions errors or a bad sector with your HD).
Does that make more sense?
It's a fun program called Beyond Compare. I use it for file, folder, and text comparisons. It's an easy way to see what mods are in my old install of Factorio, and which ones I still need to update/install/etc.
>http://www.scootersoftware.com/index.php > > >Can compare directories, do folder syncs, compare file contents like txt, tables, hex, binary, exe, mp3 (can play the file and compare id3tags), images, etc. You can filter in all sorts of ways and if you get the "pro" version even do 3-way comparisons.
Well crud. Do you code at all? I have a solution for the not patching thing but I am hesitant to recommend if you don't code. I'm not sure what Magento package you have with Nexcess but they will create a developer/sandbox instance for you if you can't create a local version yourself. If you can get either running, you can go here https://www.magentocommerce.com/download under the release archive and download a copy of the release you have and then use this tool http://www.scootersoftware.com/download.php to compare them and find the core file that has been modified and hopefully see why it was. You could then restore the file and apply the patches or upgrade yourself to the latest 1.9.2.2. Test and make sure your site still works as expected and if so, patch or upgrade the live version.
I use MD5 Checker. It works really fast compared to other checksum generators/checkers I have tried (Par programs, QuickSFV and others).
It's easy to solve the problem or checking directories one by one. Just add a shortcut in your Send to folder, right click all the folders you want to check and send to the shortcut. I personally use FileMenu Tools to add commands to my context menu so I have an entry there that launches MD5 checker that will check entire drives, folders or just single files.
Another option is to use what I use for my backups; Beyond Compare. It has an option to compare CRC's or do a byte by byte comparision but it's tons slower than MD5 Checker. You can even save what are called Snapshots of drives/directories with the CRC values of the files and it saves it in one file (MD5 Checker can do this too but it's unlike a Snapshot).
BeyondCompare is one of my most-often used programs that I am amazed at how useful it is.
$35 or so a license allows you to compare files and folders - I use this a ton for config files during upgrades or even folder structures.
The trial is also quite generous - like 30 days of actual use (not 30 days from install date) - unless this has changed which it might because I paid long ago.
Ok, use this: http://www.scootersoftware.com/download.php?zz=dl4
I found it and just used it. Awesome application, I opened my "old" INI and the new one in it, and just scrolled through both of them and it highlights all differences. Only took me 2 minutes to put my INI edits back in.
robocopy doesn't have a "version of get-content". it doesn't read files; it syncs one folder to another.
i think what you should be trying to do with robocopy is to shorten the path of the source files by syncing a folder within the tree to the root of a drive.
From
c:\a\really\long\file\path...\filenameofextremelength.txt
to
c:\path...\filenameofextremelength.txt
i think everyone struggles with this problem at some point. i usually solve it with Beyond Compare just because i don't have to deal with it much.
i'll work on it tonight and see if i can finally solve it... at least a little.
This is probably overkill for your needs and the other suggestions are more appropriate, but my favorite comparison tool is called Beyond Compare. It's a paid tool, but I use it constantly.
I tend to use ghex2 extensively in my work, since part of my job involves curating a file format. BeyondCompare isn't free, but I can't imagine doing my job without it or an equivalent.
I have a few that I really like.
7z - One of the best compression tools around
Beyond Compare - While it is a freeware 30 day trial, it's easily one of the most useful tools I have used as a programmer/analyst - I happily paid my two bits, and it's saved me easily that much frustration.
Disk Fan - for those of us who are visually oriented, This puppy delivers , free , a full layout of your space on your hard disk. for those of us using linux this trivial and familiar like air, Windows folks may feel, that like air, it's only important when you don't have it!
This isn't free but it comes with a 30-day trial: Beyond Compare
I believe it will pair files of the same name and size/signature right next to each other (or you can sort them this way).
It might not be 100% ideal for you but try it out - I love the interface and have used it multiple times on my backup drives.
a preventative measure that it may be too late for is to put a copyright notice somewhere in your css before initial publication. that way it's easy to prove they wholesale stole it. beyond compare can also be useful for this after the fact, as it can quickly show you which blocks were lifted verbatim in a file that has been rejiggered a lot.
if you haven't already done it, get a lawyer to send them a simple cease-and-desist letter, shouldn't be too expensive. or if you're really broke, use a form letter from the intertrons. usually the mere thought of legal action being taken against them will make someone get their shit together in a hurry.
I also recommend BeyondCompare for syncing files to other environments.
Basically, it compares two folders (one on your local machine, the other on your server via FTP, for example), and shows you which files are different.
You can also tweak it to ignore timestamps, do full CRC checks, etc, but it's useful right out of the box.
Beyond Compare: http://www.scootersoftware.com/
Best visual comparison tool I've ever used. I've tried about 10 others, and I literally could not do my job without this. (although I will admit I own 2, and upgraded to 3, but downgraded because I liked 2 better, can't remember the exact reason).