Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- (
- flock -xen -w 5 200
- unzip "/home/suttin/unzip_stage/*.zip"
- 7za -y x "/home/suttin/unzip_stage/*.7z"
- mv /home/suttin/unzip_stage/*.zip /home/suttin/unzip_store
- mv /home/suttin/unzip_stage/*.7z /home/suttin/unzip_store
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.gb pi@192.168.1.117:RetroPie/roms/gb/
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.n64 pi@192.168.1.117:RetroPie/roms/n64/
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.nes pi@192.168.1.117:RetroPie/roms/nes/
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.sfc pi@192.168.1.117:RetroPie/roms/snes/
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.smc pi@192.168.1.117:RetroPie/roms/snes/
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.bin pi@192.168.1.117:RetroPie/roms/psx/
- rsync -avz --remove-source-files /home/suttin/unzip_stage/*.cue pi@192.168.1.117:RetroPie/roms/psx/
- ) 200> /home/suttin/lock/movescript.lock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement