Upload files to "/"

This commit is contained in:
Bray committed 2026-12-02 17:01:18 +00:00
1 parent 32ee4706d9
commit 254f5f13f7
1 file changed
+2 -2
+2 -2
View File
@@ -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 "--------------------------------------------------------------------------------"