Logo

dev-resources.site

for different kinds of informations.

How to copy lots of data fast?

Published at
11/2/2022
Categories
copy
files
filesystem
disk
Author
ordigital
Categories
4 categories in total
copy
open
files
open
filesystem
open
disk
open
Author
9 person written this
ordigital
open
How to copy lots of data fast?

The best way to copy a lot of data in Linux fast is using tar. It's much faster than cp or copying in any file manager. Here's a simple command with progress bar (pv needs to be installed) that needs to be executed inside a folder that you want to copy recursively:

$ tar cf - . | pv | (cd /destination/path; tar xf -)

Featured ones: