02-23-2015
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to redirect the output from 'tar xvf' to another directory?
The taped tar image is extracting to my / dircetory - even though i'm running the command from /backups.
The contents list of the tape shows files created from /livebackups/...
Thanks
Richard (7 Replies)
Discussion started by: colesy
7 Replies
2. UNIX for Advanced & Expert Users
anyone know if it is possable to extract a subdirectory in a tar file.
IE
tarfile contains
parent dir
-sub dir A
-sub dir B
I want to extract sub dir B. (2 Replies)
Discussion started by: Optimus_P
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I would like to extract the files from an archive which I have copied from a different server which has different file structures to my server.
When I do a tar xvf archive_name, I get the error saying the file or directory cannot be found. How do I specify a desginated directory to... (4 Replies)
Discussion started by: john_trinh
4 Replies
4. UNIX for Dummies Questions & Answers
I received a tar file of a directory with 50,000 files in it. Is it possible to extract the files in the tar file without first creating the directory?
ie. Doing tar -xvf filename.tar extracts as follows:
x directory/file1.txt
x directory/file2.txt
.
.
.
I would like to avoid... (4 Replies)
Discussion started by: here2learn
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
I created a tar file of a directory dir1 from /tmp in the following way
$pwd
/tmp
$tar -cvf dir1.tar dir1 (dir1 will have say file1)
Now i want to extract it in the directory /tmp/dir2 so that the directory dir1 is also created and extracted... (1 Reply)
Discussion started by: ammu
1 Replies
6. UNIX for Dummies Questions & Answers
Hello!
I want to extract a choosen directory (and its contents) from a tar archive and i have tried what i believe is every option i could find in the manual.
I think i have done it once before, but i don't remeber how.
Could anyone please tell me how to do? (2 Replies)
Discussion started by: noratx
2 Replies
7. UNIX for Dummies Questions & Answers
I am adding some individual files to a tar archive and would like them to be added to the archive without any directory hierarchy, even though the files themselves exist in levels of hierarchy. Unfortunately, tar seems to always preserve the directory hierarchy when it adds the files.
Here is... (2 Replies)
Discussion started by: Special_K
2 Replies
8. Shell Programming and Scripting
Hi all
I need to write a script that archives all files with a certain date in the filename, to another location.
It has to run on a AIX using tar/compress or another standard AIX tool.
The directory will have x files, each prefixed with a date like yyyymmdd_desc.csv.
I need all to... (7 Replies)
Discussion started by: AIXfrog
7 Replies
9. UNIX for Dummies Questions & Answers
I have a huge directoy(200+ gb) for backup. I want upload the tar file(split files) simultaneous to a remote ftp. (pipeline, stdout, stdin etc.)
I don't want write a data to local hdd. I have a ssd hdd. thanks.
this code doesn't work.( yes i know the problem is split command!)
tar cvzf -... (8 Replies)
Discussion started by: tara123
8 Replies
10. UNIX for Dummies Questions & Answers
HI All
Please suggest how to untar archive on remote sever. When im trying use regular command without any flags everything is working fine:
$( ssh <user>@<server> -n '. ~/.profile >/dev/null 2>&1 ; cd /path_1 ; copiedIVR_name=`ls -tr | tail -1` ; tar xvf $copiedIVR_name ' )
but when im... (9 Replies)
Discussion started by: BACya
9 Replies
LEARN ABOUT DEBIAN
gbp-create-remote-repo
GBP-CREATE-REMOTE-REPO(1) git-buildpackage Manual GBP-CREATE-REMOTE-REPO(1)
NAME
gbp-create-remote-repo - Create remote repositories
SYNOPSIS
gbp-create-remote-repo [ --verbose ] [ --color=[auto|on|off] ] [ --remote-url-pattern=url-pattern ] [ --remote-name=name ] [ --template-
dir=directory ] [ --remote-config=config ] [ --[no-]pristine-tar ] [ --debian-branch=branch_name ] [ --upstream-branch=branch_name ] [
--[no-]track ]
DESCRIPTION
gbp-create-remote-repo creates a repository at a remote location via ssh and pushes the local repository into it. It then sets up remote
branch tracking so you can use gbp-pull to update your repository from there.
Before performing any action on the remote location it will print the remote URL and ask for confirmation.
Note: By default the remote repositories are created in the collab-maint repository on git.debian.org.
OPTIONS
--remote-url-pattern=pattern
Where to create the remote repository. The part %(pkg)s will be replaced by the package name.
--remote-name=name
What name git will use when refering to that repository, e.g. 'origin'.
--template-dir=directory
Template directory to pass to git init on the remote side. This can be used to customize the remote repository, e.g. to set up
hooks.
--remote-config=config
Name of a config file section in gbp.conf that specifies the above paramters. See [XRef to GBP.MAN.GBP.CONF] manpage for details.
--debian-branch=branch_name
The branch in the Git repository the Debian package is being developed on, default is master.
--upstream-branch=branch_name
The branch in the Git repository the upstream sources are put onto. Default is upstream.
--pristine-tar
Whether to push the pristine tar branch.
--verbose
-v verbose execution
--color=[auto|on|off]
Whether to use colored output.
--[no-]track
Whether to set up branch tracking for the debian, upstream and pristine-tar branches.
CONFIGURATION FILES
Several gbp.conf files are parsed to set defaults for the above commandline arguments. See the [XRef to GBP.MAN.GBP.CONF] manpage for
details.
SEE ALSO
git-buildpackage(1), gbp-pull(1), gbp.conf(5)
AUTHOR
Guido Guenther <agx@sigxcpu.org>
01 June 2012 GBP-CREATE-REMOTE-REPO(1)