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 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: References: 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 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.