copy with bunzip2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have several pdf files as .pdf.bz2, as seen here:

a/1.pdf.bz2
a/2.pdf.bz2
a/b/3.pdf.bz2
a/b/c/4.pdf.bz2

I want to copy everything in and under directory a to another computer, but I want the files to be decompressed on the destination machine:

a/1.pdf
a/2.pdf
a/b/3.pdf
a/b/c/4.pdf

I could just use rsync and run a bunch of bunzip2 commands on the destination after the copying is completed, but perhaps there's a better way that would decompress the files in transit instead?


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux