Sponsored Content
Full Discussion: File Archive Script
Top Forums Shell Programming and Scripting File Archive Script Post 302107240 by KeesH on Thursday 15th of February 2007 11:24:55 AM
Old 02-15-2007
Cheers Manish Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script to archive file

Hi All, I am trying to archive a file. I have the script to archive a file which is given below: #! /usr/bin/sh INITFILE="US_Recon" INITDIR="/var/opt/l2/CSN1/ap21" TMPDIR="/var/opt/sap2bn/out/CSN1/ap21/tmp" ARCHDIR="/var/opt/l2/CSN1/ap21" FINALDIR="/var/opt/sap2bn/out/CSN1/ap21"... (0 Replies)
Discussion started by: indira
0 Replies

2. Shell Programming and Scripting

Generic Shell Script to Archive a file

Would appreciate if any one can paste a generic schell script to archive a file with date stamp by passing the file with fullpath as parameter For Eg. /apps/scripts/Archive_File.sh /data_home/project_home/file.txt this should place the file in the following directory ... (8 Replies)
Discussion started by: mak1600
8 Replies

3. Shell Programming and Scripting

Archive script

hi guru, can advise how to construct a housekeeping script using perl for the following ? find /var/tmp/logs -name "si*" -type f -exec gzip -f {} \; find /var/tmp/logs -name "*.gz" -type f -exec mv -f {} /var/tmp/log \; I found out those are not working in shell at when put them on... (1 Reply)
Discussion started by: rauphelhunter
1 Replies

4. Shell Programming and Scripting

script help .. archive

Hi All We have a landing directory where source system puts files.There are variable number of files and the file names are also varying.Each files successful transmission is identified by a .done file.If file name is xyz.dat then the confirmation file will be xyz.dat.done. I want to... (1 Reply)
Discussion started by: dr46014
1 Replies

5. Shell Programming and Scripting

need help archive script

Hi all, I am new to linux and scripting so please forgive me. I need to create a script that will archive files but the max size of the archive need to be 500mb or under. I know about the archiving with parts but i want all the archives as individual archives. Can anyone point me in the correct... (7 Replies)
Discussion started by: craig0
7 Replies

6. Shell Programming and Scripting

Shell Script for moving 3 days old file to Archive Folder

Hi Experts, I have a "Source" folder which may contain some files. I need a shell script which should move all files which are older than 3 days to "Archive" folder. Thanks in Advance... (4 Replies)
Discussion started by: phani333
4 Replies

7. Shell Programming and Scripting

Perl script to Archive the data file after the load

I have written a perl scripts which loads the data. Now i want to modify the script, to Archive the Input file after the successful load of data. Can anyone please share it and help me .... Thanks. (2 Replies)
Discussion started by: msrahman
2 Replies

8. Shell Programming and Scripting

Create archive and nil the content of log file using script

Plese help I need a urgent requirement. Ex: test.log requirement : using shell script I need to archive the log file and nil and the content of (test.log) file to 0 kb and then in the archive folder log files are name to test.tar test1.tar test2.tar EX: /home/abc/ test.log ... (1 Reply)
Discussion started by: johney1981
1 Replies

9. Shell Programming and Scripting

Shell script to call Oracle archive backup script when file system reaches threshold value

Hello All, I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60% Need to identify the unique file system that reaches threshold value. ex: capacity ... (4 Replies)
Discussion started by: sasikanthdba
4 Replies

10. Shell Programming and Scripting

Script to archive logs and sftp to another archive server

Requirement: Under fuse application we have placeholders called containers; Every container has their logs under: <container1>/data/log/fuse.log <container1>/data/log/fuse.log.1 <container1>/data/log/fuse.log.XX <container2>/data/log/fuse.log... (6 Replies)
Discussion started by: Arjun Goswami
6 Replies
Devel::bt(3pm)						User Contributed Perl Documentation					    Devel::bt(3pm)

NAME
Devel::bt - Automatic gdb backtraces on errors SYNOPSIS
$ perl -d:bt -MB -e'(bless (my $o = 0), q{B::SV})->REFCNT' #0 0x00007f9c3215ab0e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fff4c5ffbe8, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32 #1 0x00007f9c319168c1 in backtrace () at bt.xs:129 #2 0x00007f9c319168ec in sighandler (sig=11) at bt.xs:135 #3 <signal handler called> #4 0x00007f9c316c8ccf in XS_B__SV_REFCNT (my_perl=0x151c010, cv=0x177bfb8) at B.c:3360 #5 0x000000000057d5a0 in Perl_pp_entersub (my_perl=0x151c010) at pp_hot.c:2882 #6 0x000000000051a331 in Perl_runops_debug (my_perl=0x151c010) at dump.c:2049 #7 0x0000000000454ab0 in S_run_body (my_perl=0x151c010, oldscope=1) at perl.c:2308 #8 0x0000000000453d78 in perl_run (my_perl=0x151c010) at perl.c:2233 #9 0x00000000004230fd in main (argc=6, argv=0x7fff4c600788, env=0x7fff4c6007c0) at perlmain.c:117 DESCRIPTION
This module, when enabled, registers a handler for certain types of fatal errors, like segmentation faults, and, once such an error occurs, prints a debugger backtrace to standard output before exiting the program. It is intended to be used to debug crashes in situations where running the failing program directly under a debugger is not possible, for example when trying to get more information from cpantesters or from users unfamiliar with gdb. HOW IT WORKS
When being imported, a signal handler for the following signals is registered: o "SIGILL" o "SIGFPE" o "SIGBUS" o "SIGSEGV" o "SIGTRAP" o "SIGABRT" o "SIGQUIT" Once the program causes an error that results in one of the above signals being sent to it, the signal handler will be called, and fork off a process running "gdb" and generating a backtrace of the running program, which will then be printed to standard output. ACKNOWLEDGEMENTS
This software is based on parts of "glib", which is written by: o Peter Mattis <petm@xcf.berkeley.edu> o Spencer Kimball <spencer@xcf.berkeley.edu> o Josh MacDonald <jmacd@xcf.berkeley.edu> o Shawn T. Amundson <amundson@gimp.org> o Jeff Garzik <jgarzik@pobox.com> o Raja R Harinath <harinath@cs.umn.edu> o Tim Janik <timj@gtk.org> o Elliot Lee <sopwith@redhat.com> o Tor Lillqvist <tml@iki.fi> o Paolo Molaro <lupus@debian.org> o Havoc Pennington <hp@pobox.com> o Manish Singh <yosh@gimp.org> o Owen Taylor <otaylor@gtk.org> o Sebastian Wilhelmi <wilhelmi@ira.uka.de> o and others "glib" is licensed under The GNU Lesser General Public License, Version 2. AUTHOR
Florian Ragwitz <rafl@debian.org> COPYRIGHT AND LICENSE
This software is Copyright (c) 2010 by Florian Ragwitz. This is free software, licensed under: The GNU Lesser General Public License, Version 2.1, February 1999 perl v5.14.2 2010-09-08 Devel::bt(3pm)
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy