Unless you've already connected to the smb share, you won't be able to access it. You could try smbclient, and do a put. I'm sure there are other ways, but that's the quickest to script. Soooooo wrong from a security perspective, but eh.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello All.
I am trying to figure out how to copy a file to a smb share from the
command line.
The share is
smb://my-airport-extreme.local/drobo/folder/
my way is failing
cp test.txt smb://my-airport-extreme.local/drobo/folder/test.txt
What is the right way to do this?
Thanks,
Tom
Mesa AZ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNzx0oAAoJEMswPM0O/kkrC3kH/0GgkWHCxhF39e58BcFPlt/i
dMO+1aK7r0DRHrAE1gBtiFPIHkhzxXBfcs3+Ppd2WYE7LvnigzzYbWeKInN+YOTZ
EwZ1lUgWyHDbVZllOpWBsEDLl/I4J5RCwYyhnNrtcgLxAaVeMFv3/kv/PVDKgMt+
I97h+y5Vzlp/nbnhL42GiXnJ4rLYNiFvwGsYkNpQFPJvoj3vKz3D1ZNEUf6F7hdW
DhBX49g3k73Av0OBGj+ORjYED+m2/N93rU4accIZ8qwRV9CUBIt/QPPy/n9zKjTG
AWR305T+ycvrUxnX9WLbPk+xGzBZBi07GaJz7LYDvJsb3DenNBBfDUFp4cmbpAQ=
=R1Sn
-----END PGP SIGNATURE-----
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss