Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder durangod's Avatar
    Join Date
    Nov 2010
    Location
    East Texas USA
    Posts
    2,068
    Thanks
    349
    Thanked 57 Times in 55 Posts

    What tar params do i use for .xz files

    I need to unpack an ffmpeg static release but i have tried

    Code:
    tar -xvzf ffmpeg-release-64bit-static.tar.xz
    tar -xfvj ffmpeg-release-64bit-static.tar.xz
    and got errors both times...

    oh i guess its J not j

    that didnt work

    tar -xfvJ ffmpeg-release-64bit-static.tar.xz
    tar: vJ: Cannot open: No such file or directory
    ok got that part, for debian i guess its not -xfvJ its xfvJ no dash

    Also how do i tell the server to unpack it into a given folder name?
    Last edited by durangod; Mar 23rd, 2018 at 08:45 PM.
    If a php file only has php code within it you do not need to use the closing php tag
    A good way to remember objects from arrays is you shoot objects with arrows Example: $name->id; then Arrays are $name['id'];
    durangod is short for durango dave

  2. #2
    New to the CF scene
    Join Date
    Jul 2018
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    To specify the target directory, use the -C option (Note: Capital C).
    e.g.
    Code:
    tar xvjf ffmpeg-release-64bit-static.tar.gz -C /path/to/target/directory/

  3. #3
    New to the CF scene
    Join Date
    Jul 2018
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry, .gz at the end of the filename should be .xz in my previous post.
    Couldn't find a way to edit my post! :/


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •