Upload files to "/"
This commit is contained in:
1 parent
32ee4706d9
commit
254f5f13f7
1 file changed
+2
-2
@@ -87,7 +87,7 @@ read -r -n 1 -s key
|
||||
read -r -n1
|
||||
gw=$(sudo route | grep 'default' | awk '{print $2}')
|
||||
caja smb://"$gw"/reports/GFXRP/
|
||||
smbclient -N //"$gw"/reports/GFXRP/ -c "put /home/$USER/gfxrp/$uid.pdf $uid.pdf"
|
||||
smbclient -N //"$gw"/reports/ -c "put /home/$USER/gfxrp/$uid.pdf GFXRP/$uid.pdf"
|
||||
echo "================================================================================"
|
||||
echo "DONE."
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
@@ -153,7 +153,7 @@ echo "--------------------------------------------------------------------------
|
||||
read -r -n1
|
||||
gw=$(sudo route | grep 'default' | awk '{print $2}')
|
||||
caja smb://"$gw"/reports/GFXRP/
|
||||
smbclient -N //"$gw"/reports/GFXRP/ -c "put /home/$USER/gfxrp/$uid.pdf $uid.pdf"
|
||||
smbclient -N //"$gw"/reports/ -c "put /home/$USER/gfxrp/$uid.pdf GFXRP/$uid.pdf"
|
||||
echo "================================================================================"
|
||||
echo "DONE."
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
|
||||
Reference in new issue
Block a user