tech:shell_gnu_tar_-_commande_tar
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tech:shell_gnu_tar_-_commande_tar [2026/11/03 10:14] – Jean-Baptiste | tech:shell_gnu_tar_-_commande_tar [2026/11/03 10:15] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 110: | Ligne 110: | ||
| - | ## Syncho à la rsync | + | ## Syncho à la rsync - pipe - ssh |
| ~~~bash | ~~~bash | ||
| cd /mnt/src | cd /mnt/src | ||
| tar cf - . | tar xvf - -C /mnt/dest | tar cf - . | tar xvf - -C /mnt/dest | ||
| + | |||
| + | tar -C /src/dir -jcf - ./ | ssh user@server 'tar -C /dest/dir -jxf -' | ||
| ~~~ | ~~~ | ||
tech/shell_gnu_tar_-_commande_tar.1793697297.txt.gz · Dernière modification : de Jean-Baptiste
