Summary: Pleaser help... Compare file names then move to new directory: How do I compare the files in different directories to see if they are the same? I nee...
Summary: hie there, i would like to know how do i compare files in a current directory? i don't want to compare just 2 files with the diff filename1 fil...
Summary: I am trying to find out if files are staying in a directory queue longer than 15 minutes. If so I want to move them to a different directory. Can anyo...
Summary: Hi, I have a complex shell scripting requirement. 1. I need to fetch last 7 days archived log files by querying database. 2.Then I have to compare th...
Summary: hi, file1: hello hi test god file2: hi hello let's say file one is a masterfile, and i wanted to print out string that are in file1 and NOT in file2.....
Summary: I'm trying to write a shell script to monitor certain files and display a warning when they reach a certain size. The idea being to give a warning BEF...
Summary: Write a script named finddup which goes through all the files under a directory and prints a list of possible duplicate files. finddup accepts one arg...
Summary: Why don't you check the file size? See if it matches on both machines? If you are using two unix machines. Run: cksum And compare the output. If yo...
Summary: Yes - you're concept is wrong ;) - You want to find the newest file right? And you've got an array of all the filenames. Well it's no good comparing f...
Summary: I'm trying to compose a unix shell program which compares files performing a diff command on edited versions of them and counting the number of lines ...
Summary: Sounds like a job for cron. The script could compare file modification dates against a reference file. After checking, it could touch the reference fi...
Summary: Thanks for that tip. I created a test folder with a space in the name on purpose and using "" proved to work. I actually ran into another problem. ...
Summary: Hi, compare two files and difference will be moved into separate file.if anybody having code for this please send asap. using diff command how can w...
Summary: Hi, I'm a newbie to scripting in Unix and I need help with the following. I want to write a script that would retrieve the creation date/time of a fil...
Summary: I need to compare too files in two different directories if the one on DIR1 is newer then the one of DIR2 then I need to move it to DIR2. E.I check if...
Summary: I am comparing two files fine using diff as follows and manipulating the results: diff FileA FileB | sort -u > result How do I do the same for a sets...
Summary: I've got a schedule file which will be changed daily. I need to output a new file which contains ONLY the lines added from yesterday's file. I've ...
Summary: hi, i need to compare two files and get the line that is common.i tried it using comm command but it doesnt work.the problem is say my file a.txt is a...
Summary: Can anyone help me with shell script to this problem. I have two files as shown below. I want to loop through the two files by comparing column1, row...
Summary: Hi, I am trying to compare 2 files (A and B) to come up with a list of lines that are in A but not in B and store that list in File C. What UNIX comma...
Summary: Hi, I have to compare 2 files using shell script. I need to take the each entry/line from the first file and compare it with 2nd file whether that ent...
Summary: Hi, I want to compare two fixed width files columnswise in unix. Both are large of around 1000+ columns. Also columns are of different lengths within ...
Summary: I need to compare two files and get the difference between the two files. F1 is the base file.I need to print out all the lines missing in F2, and the...
Summary: I want to compare lines in a file and if there is duplicate information in a certain field(s) remove it but leave the field seperators. fileA a632713,...