Deutsch   English   Français   Italiano  
<sr3sfe$1hk$3@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.os.linux.configuration
Subject: Re: copie qui =?ISO-8859-1?Q?pr=E9serve?= la taille dynamique
Date: Wed, 5 Jan 2022 10:38:38 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <sr3sfe$1hk$3@shakotay.alphanet.ch>
References: <slrnst8k38.49j.dyrmak@quelite.terre> <sr1k43$rj6$1@shakotay.alphanet.ch> <sr2202$856$1@ns507557.dodin.fr.nf>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 5 Jan 2022 10:38:38 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1";
	logging-data="1588"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64))
Cancel-Lock: sha256:EB3mGchxVh7bvUq2fD23cJAlBgHWiR8xvWNAv7wLZpw=
Bytes: 1537
Lines: 11

Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
>> Ce sont des sparse files (fichiers à trou), donc utiliser l'option
>> --sparse=XXX de cp (cf man 1 cp)
> 
> Et un système de fichiers destination qui supporte les fichiers creux.

Sinon, le plus efficace est à mon avis

   # ou gzip (non multi-processus)
   pigz -1 < source > destination

les blocs de zéros prendront très peu de place avec la compression.