Vulkan-Docs/doc/specs/vulkan/sandboxCopy

19 lines
524 B
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
#!/bin/sh
specdir=../../../out/
RHOST=kaylee
RPATH=/home/khronos/memberftp/vulkan/
cd $specdir || (echo "Can't cd to $specdir !" ; exit 1)
# Create tarball and upload/copy/extract that to speed things
echo "Creating tarball"
tar czpf /tmp/tarball.tgz .
echo "Uploading tarball"
scp /tmp/tarball.tgz $RHOST:$RPATH
echo "Extracting tarball on server"
# Could add "&& rm tarball.tgz" but nice to have around
ssh $RHOST "cd $RPATH && tar xzpf tarball.tgz"
echo "Removing tarball"
rm /tmp/tarball.tgz
# scp -rp * $RHOST:$RPATH