Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

git-unpack-objects(1) [linux man page]

GIT-UNPACK-OBJECTS(1)						    Git Manual						     GIT-UNPACK-OBJECTS(1)

NAME
git-unpack-objects - Unpack objects from a packed archive SYNOPSIS
git unpack-objects [-n] [-q] [-r] [--strict] < <pack-file> DESCRIPTION
Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in "loose" (one object per file) format. Objects that already exist in the repository will not be unpacked from the pack-file. Therefore, nothing will be unpacked if you use this command on a pack-file that exists within the target repository. See git-repack(1) for options to generate new packs and replace existing ones. OPTIONS
-n Dry run. Check the pack file without actually unpacking the objects. -q The command usually shows percentage progress. This flag suppresses it. -r When unpacking a corrupt packfile, the command dies at the first corruption. This flag tells it to keep going and make the best effort to recover as many objects as possible. --strict Don't write objects with broken content or links. GIT
Part of the git(1) suite Git 1.8.5.3 01/14/2014 GIT-UNPACK-OBJECTS(1)

Check Out this Related Man Page

GIT-UNPACK-OBJECTS(1)                                               Git Manual                                               GIT-UNPACK-OBJECTS(1)

NAME
git-unpack-objects - Unpack objects from a packed archive SYNOPSIS
git unpack-objects [-n] [-q] [-r] [--strict] DESCRIPTION
Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in "loose" (one object per file) format. Objects that already exist in the repository will not be unpacked from the packfile. Therefore, nothing will be unpacked if you use this command on a packfile that exists within the target repository. See git-repack(1) for options to generate new packs and replace existing ones. OPTIONS
-n Dry run. Check the pack file without actually unpacking the objects. -q The command usually shows percentage progress. This flag suppresses it. -r When unpacking a corrupt packfile, the command dies at the first corruption. This flag tells it to keep going and make the best effort to recover as many objects as possible. --strict Don't write objects with broken content or links. --max-input-size=<size> Die, if the pack is larger than <size>. GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-UNPACK-OBJECTS(1)
Man Page

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl + pack() + spaceing question

ok guys and gals at the moment i am perplexed (prolly cuz i been looking at it to long) but here it is. OS: sol8 perlver: 5.8.0 shell: ksh answer must be in perl!! issue: when i use pack() it packs the data at the front of the requested field space. normally it wouldnt be a problem if... (1 Reply)
Discussion started by: Optimus_P
1 Replies

2. UNIX for Dummies Questions & Answers

how to please !!!!!!!

how do i unpack .mod file tryed zxvf- xfv- and many combos like that. even tryed th gui arc's i sayes how to pack a mod file but not to unpack the mod file it's 576MB full of games and when i look at it in cmd it's green i tryed su the ./blablabla.mod and it sayed premmion denied in su or... (3 Replies)
Discussion started by: amicrawler2000
3 Replies

3. Shell Programming and Scripting

Creating multiple sessions

I have a program which gets an input file (which contain a list of objects) and processes the objects one by one sequentially. However when there are many objects it is faster to split the input into smaller lists and run the program in multiple terminal sessions simultaneously. I want to know if... (2 Replies)
Discussion started by: stevefox
2 Replies

4. UNIX for Dummies Questions & Answers

perl pack and unpack commands

I have a file that contains user id and corresponding password. Lets say password is "help". The below command will create a hex value for string "help". perl -e 'print unpack "H*","help"' So now password is in encoded format. Then I decoded it in the script where am fetching the... (1 Reply)
Discussion started by: max_payne1234
1 Replies

5. Shell Programming and Scripting

capturing info between words.

Dear Friends, I am facing 2 problems while writing a script 1) I have a flat file and I want to captur specific information from it. Example I have this string in the file PACK: P42 77 UNPACK: MHTT DMK I want to capture whatever is between word PACK: and word UNPACK: including... (8 Replies)
Discussion started by: anushree.a
8 Replies

6. UNIX for Dummies Questions & Answers

perl pack and unpack commands

I am using pack/unpack to encyrpt a file. syntax is below #!/bin/sh encrypt=`perl -e 'print unpack "H*","yourpassword"'` - echo $encrypt >/file/to/store/encrypted/password pass=`cat /file/to/store/encrypted/password` decrypt=`perl -e 'print pack "H*",$pass'` ... (2 Replies)
Discussion started by: erinlomo
2 Replies