Argument list too long and copying to Samba Share
Posted
by
Copy Run Start
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Copy Run Start
Published on 2013-11-11T15:05:40Z
Indexed on
2013/11/11
22:14 UTC
Read the original article
Hit count: 238
Ubuntu 12.04 LTS 64 bit.
I'm trying to make a scheduled task copy from a directory with thousands of files to a samba share (while skipping duplicates). I mapped my Samba share through the GUI.
The command I tried:
cp /home/security/Brick/* ~/.gvfs/"cam on atm-bak-01.local/Brick" -n
I found this but I don't know how to change the syntax to what I need.
find -maxdepth 1 -name '*.prj' -exec mv -t ../prjshp {} +
Any hints are greatly appreciated.
© Ask Ubuntu or respective owner