01-24-2012
Thanks All.
Solutions worked
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a way you can tell if a file
is still zipped or it's unzipped
I have a file called ssss.zip and I would like to know if this file is still zipped or if it's unzipped?
I'm on IBM AIX/RS6000 (3 Replies)
Discussion started by: ted
3 Replies
2. Shell Programming and Scripting
How to search a pattern inside a zipped file ie (.gz file) with out unzipping it?
using grep command..
Bit urgent.. pls..help me (2 Replies)
Discussion started by: senraj01
2 Replies
3. UNIX for Dummies Questions & Answers
I have a script that grabs files from directory , zips and moves them somewhere else. It works fine except the case when files it grabs are already zipped. Then it trys to zip it again which does not make sence.
How can I check before zipping if file is already zipped?
thanks in advance (3 Replies)
Discussion started by: arushunter
3 Replies
4. UNIX for Dummies Questions & Answers
Dear all,
I would like to ask how i can read a zipped file (file.gz) without actually unzipping it?
i think there is a way to do so but i can't remember it..
can anyone help?
thanks in advance.. (1 Reply)
Discussion started by: marwan
1 Replies
5. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
6. Solaris
SunOS xxxxxx 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
We receive files that are sometimes zipped, but the file may not have the .gz or other extention that would indicated that the file is zipped. Is there a unix "test" command that I could use or something similar?
Thanks in advance (7 Replies)
Discussion started by: Harleyrci
7 Replies
7. UNIX for Dummies Questions & Answers
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Discussion started by: arvindosu
8 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I don't have enough space on my Unix Box. So, I can't unzip the file and check the size of the file. So, I need to know, Is there any command, to check, how much the unzipped file takes after unzipping. Thanks in Advance. (4 Replies)
Discussion started by: Siva Sankar
4 Replies
9. Shell Programming and Scripting
Hi,
I am trying to find out the original file size of an encrypted file in SunOS.
The file was decrypted with gpg command.
I want to know the size of the orginal file without decrypting it. I am using the below command, but it is not working for big files(more than 1 GB).
gpg --passphrase... (4 Replies)
Discussion started by: vsachan
4 Replies
LEARN ABOUT DEBIAN
config::gitlike::git
Config::GitLike::Git(3pm) User Contributed Perl Documentation Config::GitLike::Git(3pm)
NAME
Config::GitLike::Git - load Git configuration files
SYNOPSIS
use Config::GitLike::Git;
my $config = Config::GitLike::Git->new;
$config->load("/path/to/repo");
DESCRIPTION
This is a modification of Config::GitLike to look at the same locations that Git writes to. Unlike with Config::GitLike, you do not need to
pass a confname to its constructor. This module also enables the Config::GitLike option to maintain git compatibility when reading and
writing variables.
"load" in Config::GitLike should be passed path to the top level of a git repository -- this defaults to the current directory. It will
append ".git" as necessary. It supports both bare and non-bare repositories.
METHODS
This module overrides these methods from "Config::GitLike":
dir_file
The per-directory configuration file is .git/config
user_file
The per-user configuration file is ~/.gitconfig
global_file
The per-host configuration file is /etc/gitconfig
is_git_dir
Returns true if a file contains the necessary files (as git would reckon it) for the path to be a git repository.
load_dirs
Loads the relevant .git/config file.
SEE ALSO
Config::GitLike
LICENSE
You may modify and/or redistribute this software under the same terms as Perl 5.8.8.
COPYRIGHT
Copyright 2010 Best Practical Solutions, LLC
AUTHORS
Alex Vandiver <alexmv@bestpractical.com>, Christine Spang <spang@bestpractical.com>
perl v5.14.2 2012-02-16 Config::GitLike::Git(3pm)