which_branch

Programming issues and discussion
Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

which_branch

Postby Scooby » 10 May 2014, 22:09

wrote a script that investigates from which branch a file or dir comes from

https://www.dropbox.com/s/xye531c06av4upz/which_branch

Code: Select all

     Usage:
      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.
         
     Examples:
               which_branch /root/.bashrc             
               which_branch -a /root/.bashrc             
               which_branch -v /root/.bashrc             
               which_branch /root/.bashrc -v -v

Return to “Scripting and Programming”

Who is online

Users browsing this forum: No registered users and 4 guests

cron