The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 02-09-2009
tweety tweety is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 4
Quote:
Originally Posted by tweety View Post
hi,

i am new to this site.

i want to write a script to compare the file size of the files in the current dir with the files in the previous directory.

the files name will be same, but the filename format will be as xyzddddyymm.txt. the files will arrive with the month end date(i want to compare the monthly files). so can anybody help me to find a solution for this.

Any help would be greatly appreciated!
Hi Thanks much for your response.

i need one more help.

But i am having 4 files in the current directory and 4 files in the previous dir.

the file names will be same in both the dir, but with different dates. How can i compare all the files in this situation.

can you please help me in this?