Sponsored Content
Top Forums Programming read file from tar.gz archive Post 37156 by mecarmona on Friday 13th of June 2003 10:28:44 AM
Old 06-13-2003
Hi,
i have tried to do it.....but....the system tell me that -x is invalidate option.....i wish to uncompress a file.....Do you have any suggestion or idea please?....
Thanks in advance,
Mary
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Read from file then purge or archive.

Hi All, I have a root directory /tmp and I want to purge files or archive files in its subsequent subfolders.I listed the path of files I want to purge(archive) and the #of days. (purge) DAYS PATH 7 /tmp/arsenal/* 5 /tmp/chelsea/* (archive? the same as above but different folders... (15 Replies)
Discussion started by: kayarsenal
15 Replies

2. Shell Programming and Scripting

read list of filenames from text file, archive, and remove

I posted a week ago regarding this scripting question, but I need to revisit and have a few more questions answered.. User cfajohnson was extremely helpful with the archive script, but clarification on my part is needed to help steer the answer in a direction that works in this particular... (5 Replies)
Discussion started by: fxvisions
5 Replies

3. UNIX for Dummies Questions & Answers

Archive (tar)

Hi, I want to archive below directories ex: /home/oracle/ddd0 /home/oracle/ddd1 /home/oracle/ddd2 I want a command(tar) which will let me archive the above directories excluding *.dmp(dump files), *.log(log files) in those directories. So the archived file doesn't have... (4 Replies)
Discussion started by: dreams5617
4 Replies

4. UNIX for Dummies Questions & Answers

Q: tar archive help

hey how do you create a archive and add file to an existing archive. i keep getting an error: dir/#: No such file or directory currently using tar -cvfu name.tar files files searching from a word document each line having different file extention. Thanks in advance (1 Reply)
Discussion started by: nookie
1 Replies

5. UNIX for Dummies Questions & Answers

Extracting from a tar archive file

Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory? For example the archive files may have a filename of /SrcFiles/XXX/filename.dat and I want to extract it to /SrcFiles/YYY/filename.dat. Since the archive file was... (1 Reply)
Discussion started by: nmalencia
1 Replies

6. Shell Programming and Scripting

Tar archive issue

Hi, I make a tar archive: tar -czvf /path_to/cucu.tar.gz /path/dir_to_archive/ In the archive the /path/dir_to_archive/ is maintained for every file. I need that the archive to be made without the /path/dir_to_archive/ to contain only the files in /path/dir_to_archive/. Thanks,... (4 Replies)
Discussion started by: potro
4 Replies

7. Shell Programming and Scripting

Read specific file from a zip archive without extracting

Hi All, I would like to extract specific file from a zip archive. I have a zip archive "sample.zip". sample.zip contains few text files and images... text1.txt, text2.txt, pic.jpg etc... I need to read specific file "text2.txt" from "sample.zip" WITHOUT EXTRACTING the zip file. ... (4 Replies)
Discussion started by: sridharg
4 Replies

8. Shell Programming and Scripting

How to read the content of the particular file from tar.Z without extracting?

Hi All, I want to read the content of the particular file from tar.Z without extracting. aaa.tar.Z contains a file called one.txt, I want to read the content of the one.txt without extracting. Please help me to read the content of it. Regards, Kalai. (12 Replies)
Discussion started by: kalpeer
12 Replies

9. Linux

tar archive

I have made tar archive of my system.. How can I make that tar archive to be bootable.. simply to install new linux from the archived tar file.. thanks in advance (8 Replies)
Discussion started by: Vit0_Corleone
8 Replies

10. UNIX for Dummies Questions & Answers

TAR Error - file changed as we read it

Hi All, I am getting the above error when I execute the following in a shell script called by Cron. tar -cvf ${WORKING_BACKUP_ROOT}/${TAR_ARCHIVE_FILE} . >/${BACKUP_ROOT}/${ARCHIVE_LOG} if then echo "`date` : ERROR occurred on creating tar file" ... (1 Reply)
Discussion started by: daveu7
1 Replies
condor_hold(1)						      General Commands Manual						    condor_hold(1)

Name
       condor_hold put - jobs in the queue into the hold state

Synopsis
       condor_hold [-help -version]

       condor_hold[-debug]   [-reason	reasonstring]	[-subcode   number]   [-pool   centralmanagerhostname[:portnumber]-name  scheddname][-addr
       "<a.b.c.d:port>"] cluster... cluster.process... user... -constraint expression...

       condor_hold[-debug]  [-reason   reasonstring]   [-subcode   number]   [-pool   centralmanagerhostname[:portnumber]-name	 scheddname][-addr
       "<a.b.c.d:port>"] -all

Description
       condor_holdplaces jobs from the Condor job queue in the hold state. If the -nameoption is specified, the named condor_scheddis targeted for
       processing. Otherwise, the local condor_scheddis targeted. The jobs to be held are identified by one or more job identifiers, as  described
       below. For any given job, only the owner of the job or one of the queue super users (defined by the  QUEUE_SUPER_USERS macro) can place the
       job on hold.

       A job in the hold state remains in the job queue, but the job will not run until released with condor_release.

       A currently running job that is placed in the hold state by condor_holdis sent a hard kill signal. For a standard universe job, this  means
       that the job is removed from the machine without allowing a checkpoint to be produced first.

Options
       -help

	  Display usage information

       -version

	  Display version information

       -pool centralmanagerhostname[:portnumber]

	  Specify a pool by giving the central manager's host name and an optional port number

       -name scheddname

	  Send the command to a machine identified by scheddname

       -addr <a.b.c.d:port>

	  Send the command to a machine located at "<a.b.c.d:port>"

       -debug

	  Causes debugging information to be sent to  stderr , based on the value of the configuration variable  TOOL_DEBUG

       -reason reasonstring

	  Sets	the  job  ClassAd attribute  HoldReason to the value given by reasonstring. reasonstringwill be delimited by double quote marks on
	  the command line, if it contains space characters.

       -subcode number

	  Sets the job ClassAd attribute  HoldReasonSubCode to the integer value given by number.

       cluster

	  Hold all jobs in the specified cluster

       cluster.process

	  Hold the specific job in the cluster

       user

	  Hold all jobs belonging to specified user

       -constraint expression

	  Hold all jobs which match the job ClassAd expression constraint (within quotation marks). Note that quotation marks must be escaped with
	  the backslash characters for most shells.

       -all

	  Hold all the jobs in the queue

See Also
       condor_release(on page )

Examples
       To place on hold all jobs (of the user that issued the condor_hold command) that are not currently running:

       % condor_hold  -constraint "JobStatus!=2"

       Multiple  options  within  the  same command cause the union of all jobs that meet either (or both) of the options to be placed in the hold
       state. Therefore, the command

       % condor_hold  Mary -constraint "JobStatus!=2"

       places all of Mary's queued jobs into the hold state, and the constraint holds all queued jobs not currently running. It also sends a  hard
       kill  signal  to any of Mary's jobs that are currently running. Note that the jobs specified by the constraint will also be Mary's jobs, if
       it is Mary that issues this example condor_holdcommand.

Exit Status
       condor_holdwill exit with a status value of 0 (zero) upon success, and it will exit with the value 1 (one) upon failure.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012						    condor_hold(1)
All times are GMT -4. The time now is 05:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy