SHARE
TWEET

Untitled

a guest Jun 18th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo ""
  2. done
  3. echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  4. for i in 1 2 3; do
  5. echo "Tower$i"
  6. ls -1 "$1"/tower$i
  7. echo ""
  8. done
  9.      
  10. for i in 1 2 3; do
  11. mkdir "$folder"/tower$i ; 2>/dev/null
  12. chmod a+rx "$folder"/tower$i
  13. done
  14. find "$folder"/tower? -name "*" -exec rm -f {} ; 2>/dev/null
  15.  
  16. for ((i=1; i<=$level; i++)); do
  17. touch "$folder"/tower1/level$i
  18. done
  19.  
  20. echo "start"
  21. echo ""
  22. print "$folder"
  23. echo "Press enter to continue..."
  24. read
  25.  
  26. move_tower $level 1 2 3 $level "$folder"
  27.      
  28. find "$folder"/tower? -name "*" -exec rm -f {} ; 2>/dev/null
  29. find "$folder"/tower? -exec rmdir {} ; 2>/dev/null
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top