updated to support 6 digits instead of 4.
[feisty_meow.git] / scripts / text / cpdiffnow.pl
1 #!/usr/bin/perl
2
3 ###############################################################################
4 #                                                                             #
5 #  Name   : cpdiff                                                            #
6 #  Author : Chris Koeritz                                                     #
7 #  Rights : Copyright (C) 1996-$now by Author                                 #
8 #                                                                             #
9 #  Purpose:                                                                   #
10 #                                                                             #
11 #    Compares files in one directory to files in another directory.  Any      #
12 #  files with the same name whose contents differ will be copied to the       #
13 #  destination directory, and their date will be set to "now".                #
14 #                                                                             #
15 ###############################################################################
16 #  This program is free software; you can redistribute it and/or modify it    #
17 #  under the terms of the GNU General Public License as published by the Free #
18 #  Software Foundation; either version 2 of the License or (at your option)   #
19 #  any later version.  See: "http://www.gruntose.com/Info/GNU/GPL.html" for a #
20 #  version of the License.  Please send any updates to "fred@gruntose.com".   #
21 ###############################################################################
22
23 require "diff_lib.pl";
24
25 &copy_diff_dirs_using_now(@ARGV);
26
27 exit 0;  # scram.
28