01-04-2012
Thanks to all
@balajesuri: can you please explain your code i didn't get it clearly
9 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. Shell Programming and Scripting
what`s the script to do that? assuming my text file is "test.txt" (10 Replies)
Discussion started by: finalight
10 Replies
4. Shell Programming and Scripting
I have to write a shell script which can delete all the files and directories recursively inside the specified directory but should not delete the specified directory.
Please some body help me in writing the script. (3 Replies)
Discussion started by: deepthi.s
3 Replies
5. 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
6. 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
7. 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
8. 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
9. 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 DEBIAN
colorfire
OGLC
Screensaver(1) General Commands Manual OGLC Screensaver(1)
NAME
colorfire - Color-fire-explosion-thing-effect.
SYNOPSIS
colorfire [--root/-r] [--maxfps/-x number] [--vsync/-y number] [--dpms/-M number] [--texture/-t number]
DESCRIPTION
From Andreas Gustafsson (http://www.lysator.liu.se/~sdw/opengl2000.html): "This didn't take me long to do, and I didn't write more than
approximately 100 lines of code, but the result is still not that bad!"
Ported to Linux by Tugrul Galatali.
OPTIONS
--root Draw on the root window.
--maxfps number
Set maximum frame rate.
--vsync number
Limit redraws to specified number of vertical refreshes. 0 - 100. Default: 1
--dpms number
Stop rendering new frames if the display is not on. 0 - 1. Default: 1
--texture number
0 - None
1 - Smoke (--smoke)
2 - Ripples (--ripples)
3 - Ripples (--smooth)
Default: Random
ENVIRONMENT
DISPLAY to get the default host and display number.
SEE ALSO
X(1),
COPYRIGHT
Copyright (C) 1999 by Andreas Gustafsson and Tugrul Galatali.
Colorfire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as pub-
lished by the Free Software Foundation.
Colorfire is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
AUTHOR
Andreas Gustafsson <sdw@lysator.liu.se> and Tugrul Galatali <tugrul@galatali.com>
X Version 11 OGLC Screensaver(1)