Hi,
My requirement is need to delete the directories (Including files also) which are older than 7 days. So I used below command in one script (script takes 2 input parameters)
#$1 - Path of the directory from where we have to delete the directories.#
#$2 - Number of days older... (1 Reply)
I have to zip all files older than a month within a directory.
I have to archive them using the file extension
I have .dat, .csv ,.cnt files within the directory.
I used the following command It doesnt work
find /path/*.dat -mtime +30
This command doesnot display .dat files older than a... (2 Replies)
Hi,
I have dummies questions:
My script here can find the files in any directories older than 30 days then it will delete the files but not the directories. I would like to also be able to delete the directories that hold old files more than 30 days not just the files itself.
find . -type f... (2 Replies)
Hello all,
Here's the deal...I have one directory with many subdirs and files.
What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file.
A script for... (5 Replies)
Hello,
Motive: Search all directories which are older than 5 days.
Example: consider following directory structure:
abc/dir1 abc/dir1/dir abc/dir2 abc/dir3 abc/dir3/temp
Suppose dir1 and dir3 are 5 days older. Then I am looking for a command which lists abc/dir1 and abic/dir3 only so that... (4 Replies)
Hi,
I would like to ask about some question on the -mtime option in the find command. I want to move a log files older than one month and planning to used the find -mtime +30 but i have some clarrification does -mtime +30 or -30 refer to x days beyond or between so how about the month. suppose... (2 Replies)
Hi all,
how to compress the directories which is older 7 days.
If any one knows please help me this is urgent.
Thanks in advance (3 Replies)
Discussion started by: rameshpagadala
3 Replies
LEARN ABOUT REDHAT
backup_help
BACKUP_HELP(8) AFS Command Reference BACKUP_HELP(8)NAME
backup_help - Displays help for backup commands
SYNOPSIS
backup help [-topic <help string>+] [-admin] [-help]
backup h [-t <help string>+] [-a] [-h]
DESCRIPTION
The backup help command displays the complete online help entry (short description and syntax statement) for each operation code specified
by the -topic argument. If the -topic argument is omitted, the output includes the first line (name and short description) of the online
help entry for every backup command.
To list every backup command whose name or short description includes a specified keyword, use the backup apropos command.
OPTIONS -topic <help string>+
Indicates each command for which to display the complete online help entry. Omit the backup part of the command name, providing only
the operation code (for example, specify dump, not backup dump). If this argument is omitted, the output briefly describes every backup
command.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The online help entry for each backup command consists of the following two or three lines:
o The first line names the command and briefly describes its function.
o The second line lists aliases for the command, if any.
o The final line, which begins with the string "Usage", lists the command's options in the prescribed order. Online help entries use the
same symbols (for example, brackets) as the reference pages in this document.
EXAMPLES
The following example displays the online help entry for the backup dump command:
% backup help dump
backup dump: start dump
Usage: backup dump -volumeset <volume set name> -dump <dump level name>
[-portoffset <TC port offset>] [-at <Date/time to start dump>+]
[-append] [-n] [-file <load file>] [-help]
PRIVILEGE REQUIRED
None
SEE ALSO backup(8), backup_apropos(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_HELP(8)