Sponsored Content
Operating Systems Linux Red Hat compare/diff two directory in two different linux/unix machine Post 302355821 by chuikingman on Wednesday 23rd of September 2009 11:20:59 PM
Old 09-24-2009
Hi,
I just want to comapre the difference in the directory and su-directory in two machine ......only the name of directory ....
any suggestion , easy way to do it ???
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Compare/Diff between directories and subdirectories?

Hi, Does anybody know the cmd to compare two areas and print out the different files w/ path? I tried cmp and diff and dircmp but with no luck. Should I grep and print? For example: /aa/images/jan ..../images/feb /bb/images/jan ..../images/feb i want to print the compare,... (5 Replies)
Discussion started by: andylee80
5 Replies

2. UNIX for Dummies Questions & Answers

diff between unix and linux

can some 1 tel me wat is difference between unix and linux. and from where i can download unix for free (5 Replies)
Discussion started by: rohansaurav
5 Replies

3. Shell Programming and Scripting

compare two files, diff the result

Hi Everyone, 1.txt 00:01:01 asdf 00:33:33 1234 00:33:33 0987 00:33:33 12 00:33:33 444 2.txt vvvv|ee 444|dd33|ee dddd|ee 12|ee 3ciur|fdd the output should be: (6 Replies)
Discussion started by: jimmy_y
6 Replies

4. Shell Programming and Scripting

Using Diff to Compare 2 files

Hi I've been trying various methods that I have found online with regards to comparing 2 files using the diff command. Nothing seems to work. The problem is that I'm not too familiar with the proper syntax. Can you please assist me. Here is my script: #!/bin/bash awk -F',' -v file1="$1"... (9 Replies)
Discussion started by: ladyAnne
9 Replies

5. Shell Programming and Scripting

How to compare if the size of the directory is more than 500MB in unix

I use du -sk command to find the size of the directory but when i use the result of 'du -sk' into if statement its throwing error.. Could u solve with this..? (14 Replies)
Discussion started by: shaal89
14 Replies

6. Shell Programming and Scripting

Howto compare the columns of 2 diff tables of 2 different schemas in UNIX shell script

HI All, I am new to Unix shell scripts.. Could you please post the unix shell script for for the below request., There are two different tables(sample1, sample2) in different schemas(s_schema1, s_schema2). Unix shell script to compare the columns of two different tables of two... (2 Replies)
Discussion started by: Rajkumar Gopal
2 Replies

7. BSD

Which UNIX / Linux to build a new machine with?

Is freeBSD a good choice for new Unix machine? I want to get back into Unix / Linux. System would be used for light scripting and file server needs. Something with nice software or hardware raid support would be good. If it could support virtual machines, kind of like VMWare's ESX that would be... (5 Replies)
Discussion started by: grips03
5 Replies

8. Shell Programming and Scripting

Using Diff to compare 2 arrays

I have two arrays and they look like this: array=(`cat /local/mnt/*sys/*includes|grep -v NEW`) array2=(`cat /tmp/*sys.z |grep -v NEW`) I am trying to compare them but I need to use the diff -u command. I am not sure how to do this. I cannot just do diff -u ${array} ${array2} I cannot... (4 Replies)
Discussion started by: newbie2010
4 Replies

9. UNIX for Beginners Questions & Answers

Remoute hosted UNIX/Linux Machine Free

Hi Comrades, I am interested if there is the global internet network I can find free access to the Linux or unix server to create the own account to have some practice. Thanks a lot for your advice and comments. BR, Dembi (2 Replies)
Discussion started by: Dembi
2 Replies
NTFSCMP(8)						      System Manager's Manual							NTFSCMP(8)

NAME
ntfscmp - compare two NTFS filesystems and tell the differences SYNOPSIS
ntfscmp [OPTIONS] DEVICE1 DEVICE2 DESCRIPTION
The ntfscmp program makes a comparison between two NTFS filesystems from all aspects and reports all variances it finds. The filesystems can be on block devices or images files. Ntfscmp can be used for volume verification however its primary purpose was to be an efficient development tool, used to quickly locate, identify and check the correctness of the metadata changes made to NTFS. If one is interested only in the NTFS metadata changes then it could be useful to compare the metadata images created by using the --meta- data option of ntfsclone(8) to eliminate the usually uninteresting timestamp changes. The terse output of ntfscmp is intentional because the provided information is enough in each case to determine the exact differences. This can be achieved, for instance, if one compares the verbose outputs of ntfsinfo(8) for each reported inodes by the diff(1) utility. OPTIONS
Below is a summary of the options that ntfscmp accepts. -P, --no-progress-bar Don't show progress bars. -v, --verbose More informational output. -h, --help Display help and exit. EXIT CODES
The exit code is 0 on success, non-zero otherwise. KNOWN ISSUES
No problem is known. If you would find otherwise then please send your report to the development team: linux-ntfs-dev@lists.sourceforge.net AUTHOR
ntfscmp was written by Szabolcs Szakacsits (szaka@sienet.hu). AVAILABILITY
ntfscmp is part of the ntfsprogs package and is available from: http://www.linux-ntfs.org/content/view/19/37 The manual pages are available online at: http://man.linux-ntfs.org/ SEE ALSO
ntfsinfo(8), ntfscat(8), diff(1), ntfsclone(8), ntfsprogs(8) ntfsprogs 1.13.1 April 2006 NTFSCMP(8)
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy