03-29-2006
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have these files in my directory.
ABC123 ABC12.sls.20080809111121
ABC233 ABC12.sls.20080403123212
ABC543 ABC12.sls.20080804231212
ABC323 ABC12.sls.20080809111232
ABC765 ABC12.sls.20080809112343
ABC654 ABC12.sls.20080809113133
I want to delete only files in first... (2 Replies)
Discussion started by: i.scientist
2 Replies
2. Shell Programming and Scripting
Hi all,
I want to remove the files from a folder whcih contain a specific text in it.
eg:
If i have the files like
xxxx.NAME.adadd.ajfaj.kjfha
agsg.NAME.dfshd.djsh.sdjhf
asgd.NAME2.sdhj.djhf.sjdhf
shdd.NAME2.dhse.tywe.eyio
How to remove the files which contain the pattern "NAME"... (3 Replies)
Discussion started by: sparks
3 Replies
3. Shell Programming and Scripting
There is a system logging a huge amount of data and we need to delete some of the older logs .I mean the files that are created before one week from today. Here is a listing of files that are sitting there:
/usr/WebSphere/AppServer/logs
# ls -l
-rw-r--r-- 1 root system 3740694 May... (5 Replies)
Discussion started by: moustafashawky
5 Replies
4. Shell Programming and Scripting
I've got a problem how to delete files from specific directory.
I don't want do it recursively but only in specific directory.
So, command like
find /home/dirname/ -mtime +8 -type f -exec rm {} \;
is not for me because this command will remove ifs files in
/home/dirname and all... (2 Replies)
Discussion started by: zukes
2 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 Desktop Questions & Answers
Guys, I am wondering how to remove files for a specific date in a directory?
for instance when I do ls -l , i see many files. And i want to delete files for date May 15:
58252015 May 10 03:45 my_05102012.log
58252015 May 15 06:45 my_05152012.log
Thanks (8 Replies)
Discussion started by: DallasT
8 Replies
7. Shell Programming and Scripting
I'm sure this has been asked many times, but a search didn't turn up a definitive best method for this (if there ever is such a thing).
I have been using rsync to back up my main data directory, but I have accumulated a large number of older backups that I don't need. All of the files I don't... (14 Replies)
Discussion started by: LMHmedchem
14 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
hi,
i have a requirement to delete all the files from all the directories except some specific directories like archive and log.
for example:
there are following directories such as
A B C D Archive E Log F
which contains some sub directories and files. The requirement is to delete all the... (7 Replies)
Discussion started by: Little
7 Replies
LEARN ABOUT DEBIAN
ionconfig
IONCONFIG(5) ICI configuration files IONCONFIG(5)
NAME
ionconfig - ION node configuration parameters file
DESCRIPTION
ION node configuration parameters are passed to ionadmin in a file of parameter name/value pairs:
parameter_name parameter_value
Any line of the file that begins with a '#' character is considered a comment and is ignored.
ionadmin supplies default values for any parameters for which no value is provided in the node configuration parameters file.
The applicable parameters are as follows:
sdrName
This is the character string by which this ION node's SDR database will be identified. (Note that the SDR database infrastructure
enables multiple databases to be constructed on a single host computer.) The default value is "ion".
configFlags
This is the bitwise "OR" of the flag values that characterize the SDR database to use for this ION node. The default value is 1. The
SDR configuration flags are documented in detail in sdr(3). To recap:
1. The SDR is implemented in a region of shared memory. [Possibly with write-through to a file, for fault tolerance.]
2. The SDR is implemented as a file. [Possibly cached in a region of shared memory, for faster data retrieval.]
3. Transactions in the SDR are written ahead to a log, making them reversible.
4. SDR heap updates are not allowed to cross object boundaries.
heapKey
This is the shared-memory key by which the pre-allocated block of shared dynamic memory to be used as heap space for this SDR can be
located, if applicable. The default value is -1, i.e., not specified and not applicable.
pathName
This is the fully qualified path name of the directory in which are located (a) the file to be used as heap space for this SDR (which
will be created, if it doesn't already exist), in the event that the SDR is to be implemented in a file, and (b) the file to be used to
log the database updates of each SDR transaction, in the event that transactions in this SDR are to be reversible. The default value
is /usr/ion.
heapWords
This is the number of words (of 32 bits each on a 32-bit machine, 64 bits each on a 64-bit machine) of nominally non-volatile storage
to use for ION's SDR database. If the SDR is to be implemented in shared memory and no heapKey is specified, a block of shared memory
of this size will be allocated (e.g., by malloc()) at the time the node is created. If the SDR is to be implemented in a file and no
file named ion.sdr exists in the directory identified by pathName, then a file of this name and size will be created in this directory
and initialized to all binary zeroes. The default value is 250000 words (1 million bytes on a 32-bit computer).
wmKey
This is the shared-memory key by which this ION node's working memory will be identified. The default value is 65537.
wmAddress
This is the address of the block of dynamic memory -- volatile storage, which is not expected to persist across a system reboot -- to
use for this ION node's working memory. If zero, the working memory block will be allocated from system memory (e.g., by malloc()) at
the time the local ION node is created. The default value is zero.
wmSize
This is the size of the block of dynamic memory that will be used for this ION node's working memory. If wmAddress is zero, a block of
system memory of this size will be allocated (e.g., by malloc()) at the time the node is created. The default value is 5000000 (5
million bytes).
EXAMPLE
configFlags 1
heapWords 2500000
heapKey -1
pathName 'usr/ion'
wmSize 5000000
wmAddress 0
SEE ALSO
ionadmin(1)
perl v5.14.2 2012-06-11 IONCONFIG(5)