Script for Diff b/w 2 CSV files

Hello friends,

I have two CSV files.. I am looking to create a script which automatically 'diff' between those 2 csv files each month..Can anyone help me in creating the automatic script which will find the differences between 2 csv files.

Appreciated your help.

Thanks.

Post your script so far.

I haven't created any script as am a newbie to UNIX scripting. Could someone please help me in creating the script..

---------- Post updated 08-15-12 at 09:09 AM ---------- Previous update was 08-14-12 at 04:22 PM ----------

Help me please..!!

---------- Post updated at 11:25 AM ---------- Previous update was at 09:09 AM ----------

:(( :((

If your system has cron facility add a line to your crontab:

30 5 1 * * diff file1 file2 > results

This means run diff on given fies at 5:30 AM on 1st of each month and place output into file results

make sure file1, file2, and results include full path/file names, as a process executed by a cron will have crontab user's home directory as current directory.

1 Like

Thanks but unfortunately i don't have cron facility