我有一个窗口共享,我试图从bash脚本复制一些东西。
我可以通过KDE的“网络”浏览器浏览到网络共享,但不确定如何从shell访问这个文件系统。
我应该使用“网络使用”还是安装?
我尝试过挂载-t smbfs //etc /mnt/backup,但这带来了一些错误。
基本上,我希望能够"cp stuff.file /mnt/networkdrive“
编辑:这些是错误:(使用ubuntu无畏)
mount -t cifs //dlink-642ea6/Volume_1 /mnt/backup
mount: wrong fs type, bad option, bad superblock on //dlink-642ea6/Volume_1,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
dmesg | tail
[1813703.574971] CIFS VFS: cifs_mount failed w/return code = -22发布于 2010-02-08 17:40:07
我设法让它起作用了。我必须安装包含mount.cifs (我认为是smbfs)的软件包,然后才能运行
mount.cifs //192.168.1.106/Volume_1 /mnt/backup/现在去寻找sunos和fedora的mount.cifs
发布于 2010-02-08 17:04:07
如果你不在域名上,我会尝试使用
数独挂载-t cifs //windowsIP/共享名/mnt/挂载点
那是和Ubuntu的。然后,假设文件存在,只需将文件从/mnt/mountpoint目录复制到/mnt/mountpoint目录。
https://serverfault.com/questions/110719
复制相似问题