Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

expire(1p) [centos man page]

EXPIRE(1p)                                              User Contributed Perl Documentation                                             EXPIRE(1p)

NAME
expire -- expire Interchange session files and databases VERSION
1.1 SYNOPSIS
expire [-ra] [-e expr] [-c catalog] [-d dir] [sessiondb] DESCRIPTION
Interchange's "expire" expires the various session database and temporary files used by the Interchange daemon. If the program "tmpwatch" is available, it is called with the appropriate arguments. Otherwise, Interchange will remove all files itself with a recursive routine. OPTIONS
-c name Expires the catalog "name" according to its settings. Removes all temporary files that are in a subdirectory one level below the directory itself. -d dir Sets the directory that will be checked for session files and/or temporary files. -e spec Accepts a Interchange expire time setting like "6 hours", "3 days", etc. The expire time is applied directly to sessions, and may be padded for temporary files. SEE ALSO
expireall(1), http://www.icdevgroup.org/ AUTHOR
Mike Heins perl v5.14.2 2012-01-23 EXPIRE(1p)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

What is the cause of file truncation?

Hi, I have a program that gets called from the front end of my application. Actually it creates some temporary files and uses them and deletes them at last. But sometimes, say once in 6 times, some of these temporary files are getting truncated in the middle and because of this my program is... (9 Replies)
Discussion started by: venkatmyname
9 Replies

2. Shell Programming and Scripting

Deleting old files

Hi, I have a directory which contains files.This Directory keeps getting in new files from time to time.I want to maintain only 15 files in that directory at any time and the old files should be deleted. Eg: Directory 'c' @'a/b/c contains: 1_a 2_a 3_a... I want to delete all the old... (2 Replies)
Discussion started by: shiroh_1982
2 Replies

3. UNIX for Dummies Questions & Answers

Delete files with 0kb

Hi, i need to strip out a logfile dir, but only remove the files with 0kb . How would i go about doing this? TIA (3 Replies)
Discussion started by: mephisto
3 Replies

4. UNIX for Dummies Questions & Answers

Searching files by last accessed time

How can I search for files by last accessed time? I want to see files accessed in the last 24 hours, for example...or even less time, maybe in the last 3 hours? Thank you in advance, Trellot (4 Replies)
Discussion started by: Trellot
4 Replies

5. Shell Programming and Scripting

how to cp files to dir,using routine?

hi all, I wanted to know how we can copy files to dirs, through a routine and when the file and the dir are specified as parameters for that routine and explicitly called? Eg: suppose i want to copy file1 to /tmp then myproc() { . . } myproc /path/file1 /tmp/ These parameters when... (4 Replies)
Discussion started by: wrapster
4 Replies

6. Solaris

Counting up files

Hi, I have a load of if statements that look for files in a directory, I want to be able to count them up and the total files confirmed in an email? I ahve tried expr but i this does not work and it only reads in the first if and ignores the rest. Please see script, #!/bin/ksh ... (2 Replies)
Discussion started by: Pablo_beezo
2 Replies

7. UNIX for Dummies Questions & Answers

LS files only

Hi! I'm really a newbie in Unix. I want to list all the files (not the folders) in a certain directory (not recursive). How can I do this? In Windows, the command is: dir /a:-d Thanks (10 Replies)
Discussion started by: darkyoda2
10 Replies

8. UNIX for Dummies Questions & Answers

How to list files Created in last 2 hrs

I wanted to know what command should I use to see the files created in last 2 hours in a given directory. I know to see the files changed in last one day I can use this: find /admin//dump -type f -ctime -1 -print | xargs ls -lt|pg However I am not getting what should I use if I wanted tol... (4 Replies)
Discussion started by: rsonakiya
4 Replies

9. AIX

user session restriction

hi, I am facing a problem from the remote system if i login to my AIX5.3 machine as root (thru telnet) the session does not expire for 2 hours even if the session is kept ideal But whenever i do the same thing from some other user then the session is lost within 10 minutes (if session is kept... (2 Replies)
Discussion started by: pchangba
2 Replies

10. Shell Programming and Scripting

substrings from all files incl subdirs into csv with dir names

Greetings! I have multiple files, one per subdirectory, all with the same file name. All subdirectories are one level deep from the main directory. The data in the files is tab delimited between fields and record delimited with a newline. The subdirectory names have the date in the... (5 Replies)
Discussion started by: vtischuk@yahoo.
5 Replies

11. Linux

hidden temporaty files in Linux

Hi, Some porocess is creating hidden temporary files in /tmp directory. And they are not getting deleted. System is going out of disk space after some days. The temp files are getting created like .<user name><pid>. I have checked the application code, but didnt get any clue. Does these ... (2 Replies)
Discussion started by: viswath.sen
2 Replies

12. AIX

Hidden temporary files in AIX

Hi, Some porocess is creating hidden temporary files in /tmp directory. And they are not getting deleted. System is going out of disk space after some days. The temp files are getting created like .<user name><pid>. I have checked the application code, but didnt get any clue. Does these files... (4 Replies)
Discussion started by: viswath.sen
4 Replies

13. Shell Programming and Scripting

Delete files in directory using perl

Hello All I am implementing my task in Perl and i found an issue. What i want to do is to remove files from the directory which were made 20 days back using Perl script (9 Replies)
Discussion started by: parthmittal2007
9 Replies

14. Shell Programming and Scripting

Script needs input always

Dear All, I have a sever configured as a Netbackup Master server from where I manually expire tapes. I use the following command to expire a tape: sudo /usr/openv/netbackup/bin/admincmd/bpexpdate -m A00362 -d 0 Once I hit enter , it prompts me for a y or n: sudo... (2 Replies)
Discussion started by: Junaid Subhani
2 Replies

15. UNIX for Dummies Questions & Answers

Set sudo access to expire on given day\date?

Scenario: Admin wants to grant user temporary access to sudo that will expire on an arbitrary date\day. Say, after 10 days, sudo rights disappear automatically. I'm sure there's a way to hack something together with a script or cron job, but I was wondering if anyone has a package \ tool \ other... (3 Replies)
Discussion started by: DustinT
3 Replies