Thursday, January 19, 2017

Offline files management on linux / tree command

Use the following script to save directory tree to a text file for further reference. Useful for offline/backup storages.

treecmd.sh

tree -a -x -h --du $1
df -h $1

No comments: