I'm using rsync and the flags
-nPaAXz ~/ to check which files are going to be copied.
This is far too verbose to make any sense of.
How could I filter the output so I view the list of files/folders that are going to be copied to a certain depth, eg:
1 folder deep
/home/afile /home/afolder/ /home/anotherfolder/
2 folders deep
/home/afile /home/afolder/afile /home/afolder/anotherfile /home/afolder/afolder/ /home/anotherfolder/afile