Author Topic: @madpenguin  (Read 1895 times)

0 Members and 1 Guest are viewing this topic.

Offline kirrus

  • Full Member
  • ***
  • Posts: 133
  • Karma: 2
  • Sysadmin / Linux Tech Support
    • View Profile
    • Kirrus' Blog
    • Awards
@madpenguin
« on: September 26, 2010, 03:38:20 pm »
You once showed me a really cool scp | tar command that keeps perms safe with scp transfers of large quantities of flles... could you post it, I've forgotten :/

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1420
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: @madpenguin
« Reply #1 on: September 26, 2010, 07:00:13 pm »
Erm, you might need to be a little more specific .. what is it you're trying to do ?

.. the only one that springs to mind, to copy a complete system onto a mounted partition;

Quote
tar --one-file-system cvf - / | (cd /mnt && tar xf -)

??

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal