Skip to content

Instantly share code, notes, and snippets.

@xavieryin
Created August 3, 2020 07:33
Show Gist options
  • Save xavieryin/7764861686bc8294cc3e5ef015aaeb94 to your computer and use it in GitHub Desktop.
Save xavieryin/7764861686bc8294cc3e5ef015aaeb94 to your computer and use it in GitHub Desktop.

Revisions

  1. xavieryin created this gist Aug 3, 2020.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    ```
    # tar -cvhf archive.tar /backupfolder
    ```

    Ref:
    1. https://linoxide.com/how-tos/how-to-preserve-symbolic-links-in-tar-command/