Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

git-pack-redundant(1) [suse man page]

GIT-PACK-REDUNDANT(1)						    Git Manual						     GIT-PACK-REDUNDANT(1)

NAME
git-pack-redundant - Find redundant pack files SYNOPSIS
git pack-redundant [ --verbose ] [ --alt-odb ] < --all | .pack filename ... > DESCRIPTION
This program computes which packs in your repository are redundant. The output is suitable for piping to xargs rm if you are in the root of the repository. git pack-redundant accepts a list of objects on standard input. Any objects given will be ignored when checking which packs are required. This makes the following command useful when wanting to remove packs which contain unreachable objects. git fsck --full --unreachable | cut -d ' ' -f3 | git pack-redundant --all | xargs rm OPTIONS
--all Processes all packs. Any filenames on the command line are ignored. --alt-odb Don't require objects present in packs from alternate object directories to be present in local packs. --verbose Outputs some statistics to stderr. Has a small performance penalty. AUTHOR
Written by Lukas Sandstrom <lukass@etek.chalmers.se[1]> DOCUMENTATION
Documentation by Lukas Sandstrom <lukass@etek.chalmers.se[1]> SEE ALSO
git-pack-objects(1) git-repack(1) git-prune-packed(1) GIT
Part of the git(1) suite NOTES
1. lukass@etek.chalmers.se mailto:lukass@etek.chalmers.se Git 1.7.1 07/05/2010 GIT-PACK-REDUNDANT(1)

Check Out this Related Man Page

GIT-PACK-REDUNDANT(1)                                               Git Manual                                               GIT-PACK-REDUNDANT(1)

NAME
git-pack-redundant - Find redundant pack files SYNOPSIS
git pack-redundant [ --verbose ] [ --alt-odb ] < --all | .pack filename ... > DESCRIPTION
This program computes which packs in your repository are redundant. The output is suitable for piping to xargs rm if you are in the root of the repository. git pack-redundant accepts a list of objects on standard input. Any objects given will be ignored when checking which packs are required. This makes the following command useful when wanting to remove packs which contain unreachable objects. git fsck --full --unreachable | cut -d ' ' -f3 | git pack-redundant --all | xargs rm OPTIONS
--all Processes all packs. Any filenames on the command line are ignored. --alt-odb Don't require objects present in packs from alternate object directories to be present in local packs. --verbose Outputs some statistics to stderr. Has a small performance penalty. SEE ALSO
git-pack-objects(1) git-repack(1) git-prune-packed(1) GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-PACK-REDUNDANT(1)
Man Page

9 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

use of xargs and prune piping with find command.

Can anyone interpret and tell me the way the below command works? find * -name "*${msgType}" -mtime +${archiveDays} -prune -type f -print 2>/dev/null | xargs rm -f 2> /dev/null Please tell me the usage of prune and xargs in the above command? Looking forward your reply. Thanks in... (1 Reply)
Discussion started by: venkatesht
1 Replies

3. Shell Programming and Scripting

shuffle pack of words in line

hello i just seeking for a simple way to make a shuffle by block of words in a line. no matter shell (sh/bash) or perl should be like this: the message (which is line of some file) splits to packs (packs are random 5-10 words in each) then making a new line inserting those packs in a random... (9 Replies)
Discussion started by: tip78
9 Replies

4. Shell Programming and Scripting

Pipe to "xargs rm" : filename with spaces

Hi all, Am piping a list of files to "xargs rm -v". The files may have spaces in their names. Please advise how do i deal with it... :confused: Thanks. (3 Replies)
Discussion started by: coolatt
3 Replies

5. Shell Programming and Scripting

piping problem with xargs

I'm trying to pipe the output from a command into another using xargs but is not getting what I want. Running this commands: find . -name '33_cr*.rod' | xargs -n1 -t -i cut -f5 {} | sort -k1.3n | uniq | wc -l give the following output: cut -f5 ./33_cr22.rod cut -f5 ./33_cr22.rod ... 9224236... (7 Replies)
Discussion started by: ivpz
7 Replies

6. Shell Programming and Scripting

Printing lines with non-redundant itens in the output

Hi all, I'm trying to select lines of a file and at the end do not have redundant itens: Input A_B K_A C_T A_O U_B P_C D_F Z_G W_U Output A_B C_T D_F Z_G W_U (2 Replies)
Discussion started by: valente
2 Replies

7. Proxy Server

First time AIX: question about updates

On HP_UX i download the patches and then install with swinstall On AIX,i found "service packs" but there are many,i have to install all service packs,or the latest is ok? Thanks (5 Replies)
Discussion started by: Linusolaradm1
5 Replies

8. Shell Programming and Scripting

OSX: find,xargs guru?

hello, bash 4.2+ osx 10.11.6 i looking for a nice compact one-liner and need a little help using find and xargs i'm writing a script to recursively search through directories looking for git and hg repos and update them. this bit of code searches and finds them git repos. find `pwd`... (2 Replies)
Discussion started by: f77hack
2 Replies

9. UNIX for Beginners Questions & Answers

Piping commands using xargs

Need help in piping commands using xargs I have several .tar.gz files that I need to list the folder content in a subdirectory. For example, a.tar.gz b.tar.gz c.tar.gz The following command works great for each .tar.gz file but it's a pain to run the tar command for each file. tar -tf... (11 Replies)
Discussion started by: april
11 Replies