Posted: 10 May 2014, 22:09
wrote a script that investigates from which branch a file or dir comes from
Code: Select all
which_branch [OPTION]... [FILES]...
-v,--verbose Use for verbose output. Twice for even more.
-h,--help Display usage message.
-a,--all Display all ocurrances instead of only the
one visible in union.
Takes a file or a dir as input and investigates from what branch
in aufs the file comes from.
which_branch -a /root/.bashrc
which_branch -v /root/.bashrc
which_branch /root/.bashrc -v -v