Копирует файл a/b/c в existing_dir/a/b/c в Linux

$ cp --parents a/b/c existing_dir

Читайте также:  Сохранить html страницу в pdf в Linux