Page 1 of 1


Posted: 10 May 2014, 22:09
by Scooby
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 /root/.bashrc             
               which_branch -a /root/.bashrc             
               which_branch -v /root/.bashrc             
               which_branch /root/.bashrc -v -v