repo.or.cz
/
recordtv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Make sure the server directory exists before copying a video into it.
[recordtv.git]
/
scripts
/
move_to_server.sh
blob
cf1579615c8995ac6e0b893bfdf8d143504c6ac1
1
2
echo
$1
3
ssh
10.0.1.8
mkdir
-p
"Videos/Wii/
$1
"
4
ssh
10.0.1.8
rmdir
"Videos/Wii/
$1
"
5
scp
-q
"
$1
"
"10.0.1.8:Videos/Wii/
$1
"
&&
rm
"
$1
"
6