Looking for a Gift Idea? Visit the Amazon Gift Hub


Looking for athletic clothing? Try Baleaf BaleafReceive 10% off when you use my coupon code: SEANMOENKHOFF


Command Shortcuts

Share This

Sometimes you need to tar a folder and put its contents in another folder or server. These commands can be used.

Same Server:
tar -cf - source_directory | tar -C /destination/directory/ -xvf -

Different Server:
tar -czf - source_directory | ssh user@host 'cat > /path/to/source_directory.tgz'

A Creative Mind @ Work

Some of the links on this site are Amazon Affiliate links. As an Amazon Associate I earn from qualifying purchases.