Copy Entire Directory Structure Using Tar Gregg May 3, 2023 Sometimes you need to copy an entire directory structure to another location on the command line. Here is a quick way to do it using the tar command: tar cf - * | ( cd /target; tar xfp -) Cli Motd