Argument list too long and copying to Samba Share
- by Copy Run Start
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.