Sponsored Content
Full Discussion: Permission with Tar files
Top Forums Shell Programming and Scripting Permission with Tar files Post 302353530 by methyl on Tuesday 15th of September 2009 01:59:18 PM
Old 09-15-2009
On the subject of file creation permissions, see "man umask".
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tar : permission denied

Hi, when I launch : tar cf - *|rsh ${HOST} -l user "cd /u02/db/appl;tar xf -" I have this error message when execute tar : tar: admin/out/appsutil/appsutil/template/addbprf.sh: Permission denied I want to know if the permission on source file is wrong or on destination we (tar) have(s) not... (0 Replies)
Discussion started by: big123456
0 Replies

2. UNIX for Advanced & Expert Users

Untaring *.tar.tar files

Hi all, How to untar a file with .tar.tar extension. A utility that i downloaded from net had this extension. Thanks in advance, bubeshj. (6 Replies)
Discussion started by: bubeshj
6 Replies

3. Shell Programming and Scripting

How to process the files using .tar.gz files in script

Hi, I have some file in /users/xyz directoty with .tar.gz extension. i need to find these files and if found in need to run other commands. I now the command for finding files,but how to put if condition ?please help me Thanks (3 Replies)
Discussion started by: bmkreddy
3 Replies

4. UNIX for Dummies Questions & Answers

.tar.tar files

I downloaded what I thought was a gziped file (at least on remote server it had a .gz extention) and once I had it it was filename.tar.tar..I tried the standard untar tar -xvf filename on it and get an error. Does anyone know what's going on? (5 Replies)
Discussion started by: capeme
5 Replies

5. UNIX for Advanced & Expert Users

How to create a Tar of multiple Files in Unix and FTP the tar to Windows.

Hi, On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files. a) /usr/users/oracle/bin b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies

6. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

7. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

8. UNIX for Dummies Questions & Answers

How to tar all files except logs and .txt files

Hi I greatly appreciate the forum and the people here very helpful :) I could able to tar all the directories, sub dirs and the files. But unable to tar all the directories excluding the log and text files. Can anyone please advise the exact command to use for excluding .log and .txt? PS:... (4 Replies)
Discussion started by: Olivia
4 Replies

9. Solaris

Command to remove existing files in the tar files in Solaris 10

Hi, I am using solaris 10 OS.Please help me out with the commands needed in below two scenarios. 1)How to delete the existing files in the tar file. suppose i have a main tarfile named application.tar and it contains a file called ingres.tar. what is the command to remove ingres.tar... (2 Replies)
Discussion started by: muraliinfy04
2 Replies

10. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies
Module::Packaged::Generate(3pm) 			User Contributed Perl Documentation			   Module::Packaged::Generate(3pm)

NAME
Module::Packaged - Report upon packages of CPAN distributions SYNOPSIS
use Module::Packaged; my $p = Module::Packaged->new(); my $dists = $p->check('Archive-Tar'); # $dists is now: # { # cpan => '1.08', # debian => '1.03', # fedora => '0.22', # freebsd => '1.07', # gentoo => '1.05', # openbsd => '0.22', # suse => '0.23', # } # meaning that Archive-Tar is at version 1.08 on CPAN but only at # version 1.07 on FreeBSD, version 1.05 on Gentoo, version 1.03 on # Debian, version 0.23 on SUSE and version 0.22 on OpenBSD DESCRIPTION
CPAN consists of distributions. However, CPAN is not an isolated system - distributions are also packaged in other places, such as for operating systems. This module reports whether CPAN distributions are packaged for various operating systems, and which version they have. Note: only CPAN, Debian, Fedora (Core 2), FreeBSD, Gentoo, Mandriva (10.1), OpenBSD (3.6) and SUSE (9.2) are currently supported. I want to support everything else. Patches are welcome. METHODS
new() The new() method is a constructor: my $p = Module::Packaged->new(); check() The check() method returns a hash reference. The keys are various distributions, the values the version number included: my $dists = $p->check('Archive-Tar'); COPYRIGHT
Copyright (c) 2003-5 Leon Brocard. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHOR
Leon Brocard, leon@astray.com perl v5.12.4 2011-09-17 Module::Packaged::Generate(3pm)
All times are GMT -4. The time now is 07:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy