07-04-2006
How to delete the files
How can I delete these files once i get from this find command.
kindly assist please.. this is an urgent issue
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
please give me adivse .how to find the folder size with created created date .
eg:
i have directore and in that sub directoties and so on..
/home/mud/abc/dcb/
for this i want output like this
path size date
-------------------------------------------... (3 Replies)
Discussion started by: muddasani
3 Replies
2. UNIX for Dummies Questions & Answers
how do i find the date a file was created? (3 Replies)
Discussion started by: trob
3 Replies
3. Shell Programming and Scripting
I am trying to rename files based on the created/born date of the file. I Have a total of 4000 files that i am trying to do this with and would like it to be log_yyyymmddhh.gz right now the files are maillog.???.gz.
Can anyone point me in the right direction of how to get this done via scipt?
... (4 Replies)
Discussion started by: Paulb
4 Replies
4. Shell Programming and Scripting
i want to find unix file created how many days ago? (4 Replies)
Discussion started by: utoptas
4 Replies
5. Shell Programming and Scripting
Hi All,
We are copying all the files into ARCHIVE directory after we process them. We are doing this process from last 2 years, now we have a lot of files in ARCHIVE directory.
Now I need to find when the first file is copied into this directory?
If I Issue,
ls -l /ARCHIVE/*.* | tail -1... (3 Replies)
Discussion started by: Raamc
3 Replies
6. AIX
how to find the date on which a particular directory is created?
Thanks. (4 Replies)
Discussion started by: samsungsamsung
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am creating a file in unix today.
Is it possible to make the file created as 2 days older (or some past date)?
P.S:
i dont want to change the system date to older one and try.:rolleyes:
Thanks,
Pandeeswaran (6 Replies)
Discussion started by: pandeesh
6 Replies
8. HP-UX
Hi All
Any one please suggest me...
I have one directory every monday one file will be created in that directory. so if the file is created on monday or not i need check first.
How can write a script??? if the file is not created i want to quit from script.
Thanks
K.Srinivas (5 Replies)
Discussion started by: k_s_rao7
5 Replies
9. Shell Programming and Scripting
Hi All,
I'm trying to find a file which is created on current day.... I searched in unix.com and i found, below command.
find /land/ -mtime -1 -type f -print | grep "FF_Member_STG.dat"
The command checks if the file with name "FF_Member_STG.dat" is created today then exit else proceed.
... (3 Replies)
Discussion started by: ace_friends22
3 Replies
10. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
LEARN ABOUT HPUX
ipsec_config_delete
ipsec_config_delete(1M) ipsec_config_delete(1M)
NAME
ipsec_config_delete - delete configuration records from the HP-UX IPSec configuration database and delete certificate files
SYNOPSIS
object_name
ip_addr
object_name
object_name
object_name
object_name
DESCRIPTION
The command deletes configuration records from the configuration database and certificate data. If HP-UX IPSec is active and running, the
data (IPsec policy, authentication record or bypass list entry) is also deleted from the runtime policy database. If you delete IPsec
policies that have active Security Associations (SAs), HP-UX IPSec removes the SAs from the Security Association Database (SADB) and sends
a delete notification to the remote system. If HP-UX IPSec removes an IKE policy, the associated IPSec SAs can remain active, but no IKE
control messages can be sent.
The command deletes the certificate for the local system and the related private key file from the directory. It does not delete certifi-
cates for CAs or Certificate Revocation Lists (CRLs). To delete these objects, you must manually delete the files in the directory. You
can use the command to display the file names with the subject names for the CA certificate files and the issuer names for the CRL files.
You cannot delete the configuration object.
Options and Operands
The command recognizes the following options and operands:
object_name
Specifies the name of the object you are deleting.
Do not use this argument when deleting a configuration object.
You cannot delete the host, IKEv1, or IKEv2 policies.
ip_addr
Specifies the IP address of the entry in the bypass list you are deleting.
EXAMPLES
The following command deletes the host IPsec policy named
AUTHOR
was developed by HP.
FILES
configuration database.
default profile file.
SEE ALSO
ipsec_admin(1M), ipsec_config(1M), ipsec_config_add(1M), ipsec_config_batch(1M), ipsec_config_export(1M), ipsec_config_show(1M),
ipsec_migrate(1M), ipsec_policy(1M), ipsec_report(1M).
HP-UX IPSec Software Required ipsec_config_delete(1M)