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
gpg-error-config(1)						   User Commands					       gpg-error-config(1)

NAME
gpg-error-config - helper script for building with libgpg-error SYNOPSIS
gpg-error-config [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir] DESCRIPTION
The gpg-error-config tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the libgpg-error library. OPTIONS
The following options are supported: --cflags Print the compiler flags that are necessary to compile a program using the specified library. --exec-prefix=dir If specified, use dir instead of the exec installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. --libs Print the linker flags that are necessary to link with the specified library. --prefix=dir If specified, use dir instead of the installation prefix that the library was built with, when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. This option is also used for the exec prefix if the --exec-prefix option is not specified. --version Print the currently installed version of the library on the standard output. EXAMPLES
Example 1: Getting the libgpg-error library version example% gpg-error-config --version Example 2: Determining the libraries required to link with the libgpg-error library example% gpg-error-config --libs EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gpg-error-config Executable for libgpg-error helper script ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgpg-error | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
gpg-error(1), libgpg-error(3), pkg-config(1), attributes(5) Written by Jeff Cai, Sun Microsystems Inc., 2008. SunOS 5.11 10 Jan 2008 gpg-error-config(1)
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy