[PLUG] Copying LVM installation to smaller disk

John Meissen john at meissen.org
Tue Jan 27 23:50:46 UTC 2015


rshepard at appl-ecosys.com said:
> In other words, each of the following commands copies the files in the same
> way, including their setting of the attributes of /dest/foo:

>                rsync -av /src/foo /dest
>                rsync -av /src/foo/ /dest/foo

>    In the first line the contents of /src/foo are copied to /dest. In the
> second line the contents of /src/foo are copied to /dest/foo; you don't want
> that. 

Actually, to be more precise, in the first line the directory 'foo' and its 
contents are copied to /dest, while in the second just the contents of 'foo' 
(not the directory itself) are copied to /dest/foo.





More information about the PLUG mailing list