09-17-2010
Just one more comment, I am using the %C option of find's -printf argument and it can be changed to %A. Below is what each of them mean:
%Ak - File's last access time in the format specified by k, which is either `@' or a directive for the C `strftime' function.
%Ck - File's last status change time in the format specified by k, which is the same as for %A.
For further information you can check find's man pages (man find) or this link:
UNIX man pages : find ()
Regads!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My apache logs are saved in the following format (using rotatelogs):
Oct 8 01:59 access_log.1002412800
Oct 9 01:55 access_log.1002499200
Oct 10 01:58 access_log.1002585600
Oct 11 01:56 access_log.1002672000
Oct 12 01:59 access_log.1002758400
I would like to run a cronjob once a week to... (2 Replies)
Discussion started by: jamesbond
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have some files on a folder and i want to delete all the files that were created on July.
Thanks,
Kobi. (9 Replies)
Discussion started by: kobibn
9 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Can anyone help me delete old files in a directory? Let's say, I want to delete all files which are 365 days old. Thank you. (2 Replies)
Discussion started by: risk_sly
2 Replies
4. Solaris
Hi All,
I am wondering whether is there a way to remove files according to date. For example, I have 500 files between Jan - April, and I want to remove files created only on March.
Is there any way to do this?
Thanks in advanced.
rgds,
Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies
5. Shell Programming and Scripting
Hello,
Due to an error while processing data I have to delete all files created the 4 october on a RED HAT 3 Server.
I am wondering if one of you is aware of a command that could only delete all files that were created the
Oct 4 This will be very, very, very helpful
Thanks for your... (6 Replies)
Discussion started by: Aswex
6 Replies
6. Shell Programming and Scripting
To delete log files content older than 30 days and append the lastest date log file date in the respective logs
I want to write a shell script that deletes all log files content older than 30 days and append the lastest log file date in the respective logs
This is my script
cd... (2 Replies)
Discussion started by: sreekumarhari
2 Replies
7. Shell Programming and Scripting
Hello All,
I have a directory containing of many .dat file, but with different naming conventions.
I want to delete files which are created before and on 10th September 2013.
I tried this command to see files which are are the files created before 10th September
find path/to/file -type... (6 Replies)
Discussion started by: nnani
6 Replies
8. UNIX for Dummies Questions & Answers
dear all,
i m a newbie and i want to delete all files of a particular date,how can i do this? your help appreciated,thanks in advance.
OS:RHEL 6 (5 Replies)
Discussion started by: mdabdul
5 Replies
9. 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
10. UNIX for Dummies Questions & Answers
I'm quite new to Unix but I want to delete some old backup files stored in a directory.
the backups are stored on a network storage device located at /mnt/terastation12/backup. I want to delete everything upto one month ago. would the following command in Unix Sun do that?
find... (5 Replies)
Discussion started by: dbajtr
5 Replies
LEARN ABOUT REDHAT
qfilepreview
QFilePreview(3qt) QFilePreview(3qt)
NAME
QFilePreview - File previewing in QFileDialog
SYNOPSIS
#include <qfiledialog.h>
Public Members
QFilePreview ()
virtual void previewUrl ( const QUrl & url ) = 0
DESCRIPTION
The QFilePreview class provides file previewing in QFileDialog.
This class is an abstract base class which is used to implement widgets that can display a preview of a file in a QFileDialog.
You must derive the preview widget from both QWidget and from this class. Then you must reimplement this class's previewUrl() function,
which is called by the file dialog if the preview of a file (specified as a URL) should be shown.
See also QFileDialog::setPreviewMode(), QFileDialog::setContentsPreview(), QFileDialog::setInfoPreview(),
QFileDialog::setInfoPreviewEnabled(), QFileDialog::setContentsPreviewEnabled().
For an example of a preview widget see qt/examples/qdir/qdir.cpp.
See also Miscellaneous Classes.
MEMBER FUNCTION DOCUMENTATION
QFilePreview::QFilePreview ()
Constructs the QFilePreview.
void QFilePreview::previewUrl ( const QUrl & url ) [pure virtual]
This function is called by QFileDialog if a preview for the url should be shown. Reimplement this function to provide file previewing.
SEE ALSO
http://doc.trolltech.com/qfilepreview.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qfilepreview.3qt) and the Qt version (3.1.1).
Trolltech AS 9 December 2002 QFilePreview(3qt)