Shell Script To Delete Files In The First Directory Which Are Similarly Named In The Second Directory

in Categories Decision Making, File-management last updated July 15, 2008

A shell script to compare files in two directory and delete files in the first directory which are similarly named in the second directory. Following script uses for loop to compare files in a each directory.

Share this on: