Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Zipping the logs of directory Post 302903266 by pilnet101 on Monday 26th of May 2014 01:20:56 PM
Old 05-26-2014
UNIX has numerous archiving utilities. What have you tried so far?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

rm: Unable to remove directory /mnt/users/test/logs/: File exists

rm: Unable to remove directory /mnt/users/test/logs/: File exists ls -latr total 191208 drwxrwxrwx 6 test echo 4096 Jul 3 22:36 .. -rwxrwxrwx 1 test echo 97692804 Jul 3 22:36 .nfsDFA4 drwxrwxr-x 2 test echo 4096 Jul 3 23:00 . M not able to delete... (4 Replies)
Discussion started by: solitare123
4 Replies

2. UNIX for Dummies Questions & Answers

zipping all the tar files to singlr file in directory

Hi, i have more than 300 tar files in directory and i want to zip all tar files to single file. could anybody tell me the command since i know how to do zip for single tar file: bash-3.00$gzip 2008_11_10.tar bash-3.00$ pwd /oracle1/archivebackup in this directory i have lot files... (2 Replies)
Discussion started by: prakash.gr
2 Replies

3. Shell Programming and Scripting

How to write logs to a specified Directory??

I have the following script which writes the output of the scirpt in a log file in the same directory from which the script is run. I need the scipt to write the logs daily to a differnt directory with the date appended to the log on a daily basis. The script is as follows... .... (1 Reply)
Discussion started by: nirmal84
1 Replies

4. Shell Programming and Scripting

zipping a directory when the file count is over $X

Hiya, I've been plugging away at this script and I cant get it to behave as I need. first off it fails to adhere to the conditions of the file limit, and zips the directory regardless of the file count and secondly, but less important it zips up the entire path not just the directory I'm... (2 Replies)
Discussion started by: orionrush
2 Replies

5. Shell Programming and Scripting

Zipping of file in a different directory

Hi, I am having some problem with a shell script which zip some files. For zipping I have used the following command: find . -name "Test_*" -mtime 0 | zip Test_$(date +"%Y%m%d") -@ I have kept the script in /home/abc directory. It is creating the zip file within the same directory where i... (2 Replies)
Discussion started by: abhishek_510
2 Replies

6. Shell Programming and Scripting

Zipping a directory and extracting to another server.

Hello everyone, I am trying to make a script in KSH that will zip an entire directory but leave out one file in that directory. I then need to send that zipped directory to another UNIX box. I am new to UNIX and would appreciate a good template to study from. (3 Replies)
Discussion started by: BrutalBryan
3 Replies

7. UNIX for Dummies Questions & Answers

Deleting a directory and zipping another directory

Hi Folks, I have a directory in unix that is /usr/local/pos contain the folowing directoreis ..that is dir1 dir2 dir3 now I want to delete only dir2 please advise how to remove the directory dir 2 ..that is rm command and how to use it , and second if I want to zip the dir3 please... (1 Reply)
Discussion started by: punpun66
1 Replies

8. Shell Programming and Scripting

Deleting 3 days old logs from a directory

As i am working in unix environment so i have an logs that is created by my application at the following location that is /opt/app/glac/current/servers/ops/logs inside the logs directory there are different kinds of logs(that is the file having extension as .log ) have been created... (1 Reply)
Discussion started by: 2015nks
1 Replies

9. Shell Programming and Scripting

Zipping contents without the actual directory

Hi , I want to zip files present in the directories listed under a parent directory without zipping the directory itself my parent directory path is /informatica/DGDMN/PowerCenter1011/server/infa_shared/SrcFiles/OTE/Final_Directory I have the below directories named as 1,2,3,4,5 listed... (9 Replies)
Discussion started by: paul1234
9 Replies

10. UNIX for Beginners Questions & Answers

Cd \bad-directory ; source junk.1 logs me off!

Dear Gentle Folk, I thought I knew unix/bash etc. The compound statement USING TCSH! cd /lkjsdf ; source junk.1 completes and then logs me off IF the cd directory does not exist. It works fine if the directory does exist. Why is this and how do I fix it. It doesn't matter what... (1 Reply)
Discussion started by: homerwsmith
1 Replies
pddump(1)						      General Commands Manual							 pddump(1)

NAME
pddump - Dump profiling data files SYNOPSIS
pddump file... OPERANDS
A data file generated by a profiled program. A valid file is identified as a "profiling data file" by the file(1) command. DESCRIPTION
The pddump command displays, on the standard output, the record definitions and data of the specified profiling data files. Each file's dump is prefixed by the line "File = file:". This is followed by the file's field-alignment option and a list containing the file's name/value attribute pairs and the file's record definitions. Then each record in the file is dumped, showing the name of the record and the name and value of each of its fields. Strings are printed within double quotes, unsigned integers are printed in hexadecimal, and signed integers and floating-point numbers are printed in decimal. Non-array data lines contain equal signs to assist in filtering. The content of the profiling data files produced by Tru64 UNIX may be expanded in future releases, but Tru64 UNIX tools will continue to support older formats. To write tools that process Tru64 UNIX profiling data files, use the pdtostd(1) command to convert the Tru64 UNIX formats to industry standard formats, where a standard format exists. Alternatively, use the libpdf.a utilities to read the profiling data files directly, skipping any new attributes, records, or fields that may appear. FILES
Library of routines for reading and writing profiling data files Header file for libpdf.a SEE ALSO
Commands: atom(1), cc(1), file(1), kprofile(1), pdtostd(1), uprofile(1) AtomTools: hiprof(5), pixie(5) Programmer's Guide pddump(1)
All times are GMT -4. The time now is 03:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy