Portál AbcLinuxu, 7. května 2025 01:23
The rsync Command
The rsync is a powerful command that copies the files from the source to the destination. You can use this utility to copy the directory structure.
~$: rsync -av -f"+ */" -f"- *" " kopírovaný-adresář cílový-adreesář"
In the above command, we use;
-a − for archive coping.
-v − To view a detailed log of the rsync command.
-f − Each 'f' defines a filter, and the filtering rule obeys the filter.
+ − Include all directories.
- − Exclude all files.
A pro přenos se dá použít rsync přes ssh...
find -type d ...
A jestli to trvá hodiny, tak asi smůla; to znamená, že je to úložiště (nebo co to má být) špatně navržené.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.