diff --git a/gfxb b/gfxb index 0266b73..4d1bf44 100644 --- a/gfxb +++ b/gfxb @@ -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 "--------------------------------------------------------------------------------"