Recently we requires to compare the files between 2 directories & it’s quite use to perform the same with below OS commands..
Find difference in 2 directory
diff -r dir1 dir2 | grep dir1
Count in directory
ls | wc -l
Blog about SAP Technical Issues, Solution and Learnings
This site represent my personal views & findings on SAP Technology.
Recently we requires to compare the files between 2 directories & it’s quite use to perform the same with below OS commands..
Find difference in 2 directory
diff -r dir1 dir2 | grep dir1
Count in directory
ls | wc -l