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 1.8.3.1 06/10/2014 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.
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)
Hi there,
I am trying to move around 3000 files from one directory to another. The mv command is complaining from too many arguments. I tried to use the xargs command but with no luck. Could some body provide help?
Regards (4 Replies)
After install fix pack or APAR, if aix need reboot? if not, do we need stop database and all applications before we install fix pack or APAR? (3 Replies)
Hi, im having a problem with xargs, i want to cout word of each line in file, and i HAVE to use xargs, i tried:
cat file | xargs wc -w .....that uses all words in file like name of files and passed then to wc so it worte wc :somewordformfile is not i afile or directory
cat file | xargs -I{} wc... (3 Replies)
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)
Hello Experts:
I appeal to you to see if you can help me with a small problem. I have a .log file where there is data in two columns (separated by a space).
The file is thus:
0.0 3
0.0 6
0.0 6
0.0 6
0.0 7
0.0 7
0.0 7
0.0 7
0.0 11
0.0 11
0.0 11
0.0 11
0.0 11
0.1 17 (6 Replies)
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)
Hi,
What is the difference in capitalizing the option 'i' of xargs command, (i.e) xargs -i and xargs -I?
Also, what is the difference between the below 2 commands?
output_from_cmd | xargs -I {} grep '{}' file
output_from_cmd | xargs -I grep '{}' file
Any efficiency or performance... (4 Replies)
Hello,
I recently installed GIT 1.8.1 on my AIX 6.1 machine referring to AIX Open Source Packages | Main / git website and am facing a few issues with it.
Now if I login as root and issue git commands like git --version I get the response as shown : git version 1.8.1And I have tried creating... (4 Replies)
Hi,
I am trying to install git on RHEL 6. From the research I have done I should be able to just say:
sudo yum install git
but it is not working (it says no package git is available). I am fairly new to linux and cannot figure this out.
Thanks for any help you can provide. (7 Replies)
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)
trying to add git link to my computer as root and getting error message
git clone https://github.com/xxxxxxx/xxxxx.sh
bash: git: command not found
Please use CODE tags as required by forum rules! (3 Replies)
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)
I'm struggling to understand the man page entry about xargs in conjunction with the option -I. It states:
And the description reads:
Am I correct interpreting that as the fact that if no specified otherwise xargs -I can pass to a command following it no more than 5 arguments (a.k.a... (10 Replies)