05-21-2008
oh..I don't need to find the subdirectories..only that particular directory will do..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'd like to delete ALL files on a daily basis within a directory that are over a day old. Anyone know how I can automate this through Cron as I have 146 websites to administer.
I've tried...
30 02 * * * /home/myspace/tmp/webalizer -atime + 1\! -type d -exec rm -f {} \;
but all i get is an... (1 Reply)
Discussion started by: southoxon
1 Replies
2. Shell Programming and Scripting
Hi Team,
I am new to scripting. I want to create a script, which needs to keep only 5 days directories and want to remove the old directory from a particular directory. Can Somebody help me with starting this script.
All my directories will be created in the name <YYYYMMDD>.
Thanks... (2 Replies)
Discussion started by: siva80_cit
2 Replies
3. UNIX for Dummies Questions & Answers
I have a subdirectory which has many child directories and files in it. How can i delete them through a list (txt, rtf. xls , or any file extension) which is created by me. I can not manual delete one by one because it almost over 300 directory and over 4000 files. Any one know please help me? (5 Replies)
Discussion started by: cthinh
5 Replies
4. Shell Programming and Scripting
Hello,
I have several files in a specific directory.
A specific string in one file can occur in another files.
If this string is in other files. Then all the files in which this string occured should be deleted and only 1 file should remain with the string.
Example.
file1
ShortName "Blue... (2 Replies)
Discussion started by: premier_de
2 Replies
5. Shell Programming and Scripting
Hi Guys,
I need help on deleting particular date files in a directory. I have to delete thousands of files with respect to particular date. Could anyone help on this to delete particular date files at a time?
Thanks in Advance (2 Replies)
Discussion started by: teddy2882
2 Replies
6. Shell Programming and Scripting
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
7. UNIX for Dummies Questions & Answers
hello
i am trying to delete some files and also some directories. However, despite having the required permissions (i m the owner), Permission is being denied. I also tried to delete using find and inode number, but again Permission was denied.
:wall:
I am new to unix so please dumb down... (8 Replies)
Discussion started by: curiosity
8 Replies
8. Shell Programming and Scripting
he following are the files available in my directory
RSK_123_20141113_031500.txt
RSK_123_20141113_081500.txt
RSK_126_20141113_041500.txt
RSK_126_20141113_081800.txt
RSK_128_20141113_091600.txt
Here, "RSK" is file prefix and 123 is a code name and rest is just timestamp of the file when its... (7 Replies)
Discussion started by: kridhick
7 Replies
9. Shell Programming and Scripting
Hi
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
total 0
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies
10. Shell Programming and Scripting
amigos
necesito dejar en un directorio solo los archivos del dia anterio, como puedo hacer eso con una shell
Hello.
Per our forum rules, all posts must be in English.
We do provide translation services for posts from English to a number of languages as a benefit to users. However,... (16 Replies)
Discussion started by: tricampeon81
16 Replies
LEARN ABOUT REDHAT
acinclude
ACINCLUDE(1) GPL ACINCLUDE(1)
NAME
acinclude - manual page for ac-archive 0.5.39
SYNOPSIS
acinclude [OPTIONS] ...
DESCRIPTION
Generate `acinclude.m4' by scanning `configure.ac' or `configure.in'
--acdir=DIR
directory holding subdirectories with config files
--help print this help, then exit
-I DIR
add directory to superdir search list for .m4 files
. add current directory as superdir to searchlist which is the default if no -I option was given.
--output=FILE
put output in FILE (default acinclude.m4)
--print-ac-dir
print name of directory with subdirs holding m4 files
--verbose
don't be silent
--version
print version number, then exit
Note that unlike aclocal the subdirectories (!!) of the acdir-path are searched for files - the default will find locals as ./*/*.m4
and always search for ac-macros installed as share/aclocal/*/*.m4 which may include the macros from ac-archive or from packages that
chose to install multiple files into a subdirectory of share/aclocal. The tool will warn at unresolved symbols starting with AX_
just as the original aclocal program did warn at unresolved macros with AC_.
AUTHOR
Written by Tom Tromey <tromey@cygnus.com> modified for acinclude by Guido Draheim <guidod@gmx.de> (C) 2001
REPORTING BUGS
Report bugs with original aclocal to <bug-automake@gnu.org>. Report problems with acinclude to <ac-archive-list@sourceforge.net>.
Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
The full documentation for the ac-macros handled with acinclude is maintained as m4 source and converted to html pages which get installed
in doc/ac-archive subdirectories in the filesystem at your site. Have a look.
ac-archive 0.5.39 January 2003 ACINCLUDE(1)