I would like to copy the whole /usr/share/zoneinfo/ directory into /var/www/clients/client1/web5/./usr/share/zoneinfo/. (The /./
is added for clarity and formatting purposes)
The directory /var/www/clients/client1/web5/ exists, but the underlying usr/share/zoneinfo directory doesn't.
Is there a way to do this with a single command or do I have to call mkdir -p
first ?
I thought cp --parents
would do just that, but it seems it only works when copying a single file, not a whole directory.