Hehe,
Teaches me not to RTFM.

-Eric
From the Central Offices of the Technomage Guild, documentation Dept.


On Jul 5, 2025, at 9:39 PM, David Schwartz via PLUG-discuss 
<[email protected]> wrote:

man cp says it’s even simpler:

     -n    Do not overwrite an existing file.  (The -n option overrides any 
previous -f or -i
           options.)


-David Schwartz




> On Jul 5, 2025, at 9:37 PM, David Schwartz <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> some variation of this will probably work:
> 
> find . *.* -exec [!exists xyzzy/{}] && cp {} xyzzy ;
> 
> -David Schwartz
> 
> 
> 
>> On Jul 5, 2025, at 8:42 AM, Michael via PLUG-discuss 
>> <[email protected] <mailto:[email protected]>> 
>> wrote:
>> 
>> Simple question: How does one copy all files except those exiting already?
>> ---------------------------------------------------
>> PLUG-discuss mailing list: [email protected] 
>> <mailto:[email protected]>
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss 
>> <https://lists.phxlinux.org/mailman/listinfo/plug-discuss>
> 

---------------------------------------------------
PLUG-discuss mailing list: [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list: [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to