MegaSack DRAW - 6pm Christmas Eve - LIVE on our YouTube Channel
Strange question I know, but does anyone know if there is software out there that can map the filesystem of a Linux system? I need to compare two servers with slightly different structures.
Think I have used this in the past:
http://taxonomy.zoology.gla.ac.uk/rod/treeview.html
du|awk '{print $2}' >directories.txt
... repeat on second machine
then compare using WinMerge or whatever?
find / -type d >filename
do that on both machines then copy one file to the other machine and do a diff between them
diff filename1 filename2
unless you want to do all files instead of just directories in which case the command is find / * >filename
Thanks for all the replies. Printing Samuri's output to a file and running a diff between them seems to be the easiest way given the circumstances.
On system 1
Type "cd /" return
Type "tree > tree1.txt" return
Wait a bit
On system 2
Type "cd /" return
Type "tree > tree2.txt" return
Wait a bit
"sdiff tree1.txt tree2.txt"

