my experiences
Wednesday, August 21, 2013
31 - Finiding same files in two different directories:
Suppose we have two directories D1 and D2 which have a lot of different files.
To find which files are in common in these two directories we can use the following command in linux:
> comm -12 < (ls D1/) < (ls D2/)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment