Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.99 KB | None | 0 0
  1. #!/bin/bash
  2. (
  3.   flock -xen -w 5 200
  4.   unzip "/home/suttin/unzip_stage/*.zip"
  5.   7za -y x "/home/suttin/unzip_stage/*.7z"
  6.   mv /home/suttin/unzip_stage/*.zip /home/suttin/unzip_store
  7.   mv /home/suttin/unzip_stage/*.7z /home/suttin/unzip_store
  8.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.gb pi@192.168.1.117:RetroPie/roms/gb/
  9.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.n64 pi@192.168.1.117:RetroPie/roms/n64/
  10.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.nes pi@192.168.1.117:RetroPie/roms/nes/
  11.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.sfc pi@192.168.1.117:RetroPie/roms/snes/
  12.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.smc pi@192.168.1.117:RetroPie/roms/snes/
  13.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.bin pi@192.168.1.117:RetroPie/roms/psx/
  14.   rsync -avz --remove-source-files /home/suttin/unzip_stage/*.cue pi@192.168.1.117:RetroPie/roms/psx/
  15. ) 200> /home/suttin/lock/movescript.lock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement