I'm looking for the linux equivalent of the DOS command:
xcopy from/* to/* /s/e/d/y
Which copies over all new files and only replaces old ones. I'll be running this from the terminal of a Mac OSX computer.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
I normally use find for this:
cd from find * -print0 | cpio -pdmv0 to/
cp -f from/* to/. But I don't know the meaning of all the options to your DOS command; maybe you have to choose additional options here,