Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
2 added 8 characters in body
source | link

If you'd like to compare only a structure and some basic info about files, you can try something like this:

diff <(cd $DIR1 && ls -laR $DIR1) <(cd $DIR2 && ls -laR $DIR2)

I didn't test it, so any edits are welcome :)

If you'd like to compare only a structure and some basic info about files, you can try something like this:

diff <(ls -laR $DIR1) <(ls -laR $DIR2)

I didn't test it, so any edits are welcome :)

If you'd like to compare only a structure and some basic info about files, you can try something like this:

diff <(cd $DIR1 && ls -laR) <(cd $DIR2 && ls -laR)

I didn't test it, so any edits are welcome :)

1
source | link

If you'd like to compare only a structure and some basic info about files, you can try something like this:

diff <(ls -laR $DIR1) <(ls -laR $DIR2)

I didn't test it, so any edits are welcome :)