Advertisement
conmarap

Creating Back Point in Cinux

Jun 6th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement