Skip to main content
added 51 characters in body
Source Link
Franck Dernoncourt
  • 5.5k
  • 18
  • 55
  • 92

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

The command will keep the original folder intact.

Requirements:

sudo apt-get install -y pv

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

The command will keep the original folder intact.

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

The command will keep the original folder intact.

Requirements:

sudo apt-get install -y pv

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.

added 53 characters in body
Source Link
Franck Dernoncourt
  • 5.5k
  • 18
  • 55
  • 92

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

The command will keep the original folder intact.

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

The command will keep the original folder intact.

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.

Source Link
Franck Dernoncourt
  • 5.5k
  • 18
  • 55
  • 92

To store a large folder into a single file without compression and with a progress bar, one can use the following one-line command:

tar -cf - ./Downloads/ | (pv -p --timer --rate --bytes > backup.tar)

Demo (in my case, my folder is ./Downloads/ and my output file is adb_int.tar):

enter image description here

Credits: the command combines user86969's answer with Jakuje's answer.