conmarap

Creating Back Point in Cinux

Jun 6th, 2013
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # Author: Constantino Apostolou <conmarap@gmail.com>
  3. # Creating a back point in Cinux
  4.  
  5. for f in $(find /path/to/package)
  6. do
  7.         if [ $f == "." ]
  8.         then
  9.                 echo "* Excluding '.'"
  10.         else
  11.                 echo "* $f"
  12.                 echo "rm -r $f" >> ~/package.lst
  13.         fi
  14. done
RAW Paste Data