Sponsored Content
Full Discussion: erasing old files
Top Forums UNIX for Dummies Questions & Answers erasing old files Post 1975 by 98_1LE on Tuesday 10th of April 2001 02:45:51 PM
Old 04-10-2001
find /path/to/dir -ctime +1 -exec rm -f {} \;
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

erasing portion of line with sed

hi, I'm trying to use sed to erase everything, and including the ending parenthesis. For example: input: blah blah blah (12355)this is what i want. output: this is what i want. how would i do this? i found an example online that does the opposite: sed \"s|test.*||g\" file1 > file2"; ... (5 Replies)
Discussion started by: gammaman
5 Replies

2. UNIX for Dummies Questions & Answers

erasing portion of line with sed (only once)

hi, I'm trying to use sed to erase everything, up to the first parenthesis. for example: input: blah blah blah (aldj) test (dafs) test test. output: (aldj) test (dafs) test test. how would i do this? I was fooling around with the parenthesis, and i only got it to apply on all parenthesis.... (1 Reply)
Discussion started by: gammaman
1 Replies

3. UNIX for Dummies Questions & Answers

Backspace erasing the prompt

My AIX has Korn Shell. I had set the prompt by providing assigning to PS1. If on the prompt I use backspace it erase the whatever appeared due to PS1. Can someone tell me how to forbid this erasing of prompt string, with this behaviour? Thanks in advance. (4 Replies)
Discussion started by: videsh77
4 Replies

4. Shell Programming and Scripting

How to retrieve all the linked script files/ctl files/sql files?

Hi I am going to migrate our datawarehouse system from HP Tru 64 Unix to the Red Hat Linux. Inside the box, it is running around 40 cron jobs; inside each cron job, it is calling other shell script files, and the shell script files may again call other shell script files or ctl files(for... (1 Reply)
Discussion started by: franksubramania
1 Replies

5. Filesystems, Disks and Memory

Erasing hard disk contents using dd or dcfldd

Hi, I am writing a script to wipe my hard disk, in a relatively secure manner by over-writing the disk with 3 patterns. So, I run the dd/dcfldd command 3 times with a sync call in between each command call in the script. #!/bin/sh dcfldd pattern=99 conv=notrunc of=/dev/sda sync dcfldd... (7 Replies)
Discussion started by: jake24
7 Replies

6. Filesystems, Disks and Memory

Erasing backup tapes (DLT)

I have a load of DLT tapes I need to scrub and get rid off. Anyone know of any application to erase the tapes before recycling them? I have a Sun StorEdge L9 tape loader which I would like to utilise, so a script or application that can take advantage of doing a load of tapes without manual... (5 Replies)
Discussion started by: son_t
5 Replies

7. Shell Programming and Scripting

Append string to all the files inside a directory excluding subdirectories and .zip files

Hii, Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories. Eg. file1: test1.log file2: test2.log file3 test.zip After running the script file1: string_test1.log file2: string_test2.log file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies

8. OS X (Apple)

Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?

So far nobody on ASC, nor anywhere was able to respond to my issue and Google wasn't much of help either. I started to experience the issue some time ago: my OS is Lion 10.7.5. It occurs in all apps that have the function of versioning (iWork which I have updated up to v9.2, namely, Pages 4.2,... (0 Replies)
Discussion started by: scrutinizerix
0 Replies

9. UNIX for Beginners Questions & Answers

Automate splitting of files , scp files as each split completes and combine files on target server

i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
LOG4SHIB-CONFIG(1)						     log4shib							LOG4SHIB-CONFIG(1)

NAME
log4shib-config - Flags for linking with the log4shib library SYNOPSIS
log4shib-config [--prefix[=dir]] [--exec-prefix[=dir]] [--package] [--version] [--cflags] [--libs] [--help] DESCRIPTION
log4shib-config prints out various configuration information for the log4shib library, such as the compiler and linker flags required to build and link programs against the library. log4shib provides a library of C++ classes for flexible logging to files, syslog, and other destinations. It is modeled after the log4j Java library, staying as close to that API as is reasonable. log4shib is a fork of the log4cpp library with additional fixes and modifications to improve its thread safety and robustness. It is primarily intended for use by the Shibboleth web authentication system. OPTIONS
--help Prints a usage message. This is the default action. --cflags Prints the compiler flags required to build software using log4shib. --libs Prints the linker flags required to link software with log4shib. --package Prints the name of the log4shib package. --version Prints the version of log4shib from which this script came. --prefix[=dir] Prints the prefix with which log4shib was compiled. If the optional argument is supplied, also sets the prefix to dir for any subsequent flags. (This is rarely useful.) --exec-prefix[=dir] Prints the prefix for compiled files with which log4shib was compiled. If the optional argument is supplied, also sets the exec prefix to dir for any subsequent flags. (This is rarely useful.) Other, lesser-used options are also available to print out additional configure-time information. Run with --help for a full list of available options. AUTHOR
Written by Russ Allbery <rra@debian.org> for the Debian distribution. 1.0.4 2012-06-06 LOG4SHIB-CONFIG(1)
All times are GMT -4. The time now is 06:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy