Software/[Linux]
vscode_scripth
tony99
2024. 2. 13. 11:17
#!/bin/bash
input="$@"
echo "input para: $input"
if [ -d "$input" ]; then
echo "exist"
cd $input
cp /mnt/NAS2/tony/vscode-server.tar.gz .
tar -xvf vscode-server.tar.gz
cd vscode-server-linux-x64
cp -R * ../
echo "vs_script end"
else
echo "not exist"
fi