Or you can use something like this, pointing to the same system or to a new one:

cd /ROOT_DIR; tar -zc DIR_TO_TRANSFER | ssh USER@TARGET_IP  "tar -zx -C /TARGET_DIR"


Regards

Diego E. Kesselman


El 15/01/21 a las 9:59, Bryan Dietz escribió:
I read about a "better" way


https://powerwire.eu/rsync-better-than-copy-cp

<snip>
RSync – Better than Copy (CP)
In this article, I’ll be taking a look at an open-source utility that doesn’t get as much credit as I feel it should.
If you have followed my open-source articles here and at the i-UG user group meetings, you will often have to copy files from one IFS directory to another.
Yes you can use the CP (Copy) command to achieve this, but sometimes this command lacks functionality and we have to use other methods to get around the CP shortcommings.
</snip>


Bryan


James H. H. Lampert wrote on 1/14/2021 10:33 AM:
Is there a better, faster, easier way to copy all files matching a specific pattern (*.zip in this case) from one IFS directory to another, than doing it via a save file?

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.