01-18-2011
Hi,
I am using this script to delete the files created 5 days ago in /home/directory/ location.
But somehow its not working.Can you please let me know the error in this.
find /home/directory/ -type f -mtime +5 -exec rm {} \;
Thanks
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Im having a file named logserver.txt. I want a perl script to take a backup of that file, along with the datestamp; move the file to a different location or empty the contents of the file after backup.
Remember, the file gets generated when the related service starts. My condition is... (14 Replies)
Discussion started by: ntgobinath
14 Replies
2. UNIX for Dummies Questions & Answers
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Discussion started by: krishnampkkm
5 Replies
3. Shell Programming and Scripting
Under TEMP folder, it have many sub-folder, example"0015,0016,etc"
I need to discovery those file which are 2 days ago in this sub-folder , and list out to investigate, at the end delete all file in those sub folder, only keep the emptu directory. Thanks (4 Replies)
Discussion started by: android
4 Replies
4. 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
5. Shell Programming and Scripting
Hello all! I am writing a script that takes in a directory name as input and if the directory exists, it shows the files inside the directory
here is what I have so far (incomplete) (mostly like pseudocode)
#/bin/sh
echo Please enter the name of a directory
read dir
grep $dir... (2 Replies)
Discussion started by: subway69
2 Replies
6. Shell Programming and Scripting
Hi all
This is my first post. Please bear with me with all my mistakes. I started learning shell since couple of days now and this might be quite basic for all, i want to search for files in a directory containing specific string and replace it with new string. The code i wrote is quite bulky... (2 Replies)
Discussion started by: theprogrammer
2 Replies
7. Shell Programming and Scripting
Hi,
I have below directories
Direct 2013-08-12 23123
Direct 2013-08-13 24121
Direct 2013-08-14 34513
Direct 2013-08-31 15435
...........
Direct 2013-09-12 53145
Direct 2013-09-30 65234
Direct 2013-09-30 89642 (11 Replies)
Discussion started by: learnbash
11 Replies
8. Shell Programming and Scripting
I have the following directories under "0.0.0.0"
/scratch/builds/snapshotBuilds/0.0.0.0
drwxr-xr-x+ tested-571
drwxr-xr-x+ tested-576
drwxr-xr-x+ tested-597
drwxr-xr-x+ 600
drwxr-xr-x+ 601
drwxr-xr-x+ 602
drwxr-xr-x+ 603
drwxr-xr-x+ tested-604
drwxr-xr-x+ tested-605... (13 Replies)
Discussion started by: ibad_urs
13 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
LEARN ABOUT DEBIAN
flamerobin
FLAMEROBIN(1) Firebird Administration Tool FLAMEROBIN(1)
NAME
flamerobin -- management and data manipulation tool for the Firebird DBMS
SYNOPSIS
flamerobin [-h directory | --home=directory] [-uh directory | --user-home=directory]
DESCRIPTION
flamerobin is a graphical frontend to the Firebird DBMS. It is small and simple, yet offers all the basic features needed to create and
manipulate databases, execute queries and perform administrative tasks.
This manual page only documents the run-time options and environment of flamerobin. Information about using the GUI may be obtained by
selecting the Help -> Manual menu item once the application is running.
flamerobin uses two directory hierarchies for its normal operation. The data directory contains the templates for property pages, the
default configuration and the on-line documentation grouped into three sub-directories as follows:
conf-defs default configuration
docs on-line documentation
html-templates templates for property pages
The user home directory contains the per-user configuration, comprising three entries:
fr_databases.conf this file stores the user's registered databases.
fr_settings.conf this file stores the user's preferences related to the flamerobin GUI.
history this directory holds the SQL statement history, one item per file.
flamerobin accepts several options, which are described as follows:
-h directory
--home=directory
Use directory as the data directory (but see ENVIRONMENT below).
-uh directory
--user-home=directory
Use directory as the user home directory (but see ENVIRONMENT and CAVEATS below).
ENVIRONMENT
FR_HOME
Specifies an alternate location for the flamerobin data directory.
If both -h (or --home) and this environment variable are set, the command line argument takes precedence.
FR_USER_HOME
Specifies an alternate location for the flamerobin user home directory.
If both -uh (or --user-home) and this environment variable are set, the command line argument takes precedence.
FILES
/usr/share/flamerobin
The default flamerobin data directory.
~/.flamerobin
The default flamerobin user home directory.
AUTHORS
flamerobin was written by The FlameRobin Development Team <http://www.flamerobin.org/>.
CAVEATS
flamerobin only writes files under the user home directory. If flamerobin is configured so that this directory and the files contained
therein are shared among several users or concurrent instances of flamerobin, no precaution is taken to avoid overwriting settings created by
other users or other application instances.
NOTES
The specification of the data directory and the user home directory (regardless of whether they occur in the environment or on the command
line) may be the literal string ``$app'' which translates to a common data folder determined at compilation time, or ``$user'' which trans-
lates to the user local data directory. These options currently have effect only on Windows platform.
FlameRobin 0.7 April 12, 2006 FlameRobin 0.7