05-14-2012
Hmm... Didn't seem to work. I'll continue playing, and modifying.
Any other suggestions appreciated!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how can I automatically check if important files exist in a directory and if not, automatically put the important files where they are needed
say, I want to put .bashrc and a dozen other important files like it into every user's directory, how can I do this??? how do I check every user's... (4 Replies)
Discussion started by: TRUEST
4 Replies
2. UNIX for Dummies Questions & Answers
hello all,
Need assistance on the subject line above.
I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file retention is only up to 100 only..
sample
logserver001.log
logserver002.log
...
...
logserver100.log
... (2 Replies)
Discussion started by: lhareigh890
2 Replies
3. UNIX for Dummies Questions & Answers
Ok here is my issue. I have processes which will get screwed up and not run because certain log directories wind up filled too much and a directory will have 100,000 files in it. The only way to fix this is to move files out of this directory until the number of files is small enough that the... (7 Replies)
Discussion started by: MrEddy
7 Replies
4. Shell Programming and Scripting
HI All,
I am coding a shell script which will pick all the .csv files in a particular directoryand write it in to a .txt file, this .txt file i will use as a source in datastage for processing.
now after the processing is done I have to move and archive all the files in the .txt file to a... (5 Replies)
Discussion started by: subhasri_2020
5 Replies
5. UNIX for Dummies Questions & Answers
I am running a code like this
foreach list ($tmp)
mv *_${list}.txt ${chart}_${list}.txt #mv: when moving multiple files, last argument must be a directory
mv *_${list}.doc ${chart}_${list}.doc #mv: when moving multiple files, last argument must be a... (3 Replies)
Discussion started by: animesharma
3 Replies
6. Shell Programming and Scripting
I am in a situation where I have some hundreds of thousands of files in a directory (name of directory: big_directory). Now, working on this directory is extremely slow.
I now plan to do this:
Copy 1000 files in each of the directories by creating the directories automatically. All files have... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
7. Shell Programming and Scripting
Hi guys can you please help me with a script to find files with one row/1 line of content then move the file to another directory my script below runs but nothing happens to the files....Alternatively Ca I get a script to find the *.csv files with "wc -1" results = 1 then create a list of those... (5 Replies)
Discussion started by: Dj Moi
5 Replies
8. Shell Programming and Scripting
Here is the script I want to run to deleted log files after a certain time:
touch /usr/WebSphere/AppServer/profiles/AppSrv01/apps/RSA/logs
find /usr/WebSphere/AppServer/profiles/AppSrv01/apps/RSA/logs -atime +120 - exec rm -rf {}\;
Exerytime I run it, it throws me the error:
find: paths must... (2 Replies)
Discussion started by: lennyz04
2 Replies
9. AIX
I have a bunch of hidden files in a directory in AIX. I would like to move these hidden files as regular files to another directory.
Say i have the following files in directory /x
.test~1234~567
.report~5678~123
.find~9876~576
i would like to move them to directory /y as
test~1234~567... (10 Replies)
Discussion started by: umesh.narain
10 Replies
LEARN ABOUT DEBIAN
dailystrips-update
DAILYSTRIPS-UPDATE(1) General Commands Manual DAILYSTRIPS-UPDATE(1)
NAME
dailystrips-update - download updated dailystrips definitions
SYNOPSIS
dailystrips-update [OPTIONS] DAYS
WARNING
This script is intended to use under the assumption that the development version of strips.def is the latest and best. Unfortunately, at
the time of this writing (August, 2007) upstream development seems to have ceased, so using this script will likely result in a more out-
of-date strips definiton than is included in the distribution.
WARNING
Due to the above, as of November 2009, dailystrips-update has been neutered to exit immediately on execution, and it is expected that it
will be removed in a future version of this package.
DESCRIPTION
The dailystrips-update script is provided to automatically retrieve updated strip definitions from a central server, eliminating the need
to manually download and install new versions of the entire program.
It is recommened that the dailystrips-update script be run before each execution of the main dailystrips program. The dailystrips-update
script has provisions to only check for updates if the current file has reached a certain age, which maximizes efficiency and should allow
users to run the update script before each execution of dailystrips without overtaxing the update server.
USAGE
Operation is straightforward. Simply execute dailystrips-update and the updated definitions will be saved to ~/.dailystrips-updates.def,
which will automatically be loaded by the main dailystrips program.
OPTIONS
-q, --quiet
Turn off progress messages
-v, --verbose
Turn on extra progress information, overrides -q
--proxy host:port
Use specified HTTP proxy server (overrides environment proxy, if set)
--proxyauth user:pass
Set username and password for proxy server
--noenvproxy
Ignore the http_proxy environment variable, if set
--retries NUM
When downloading items, make NUM attempts instead of only once
--updates FILE
Save updates to FILE instead of ~/.dailystrips-updates.def
--minage NUM
Skip downloading updates if local file is less than NUM seconds old
-V, --version
Print version number
-h, --help
Show summary of options
SEE ALSO
dailystrips(1)
AUTHOR
This manual page was written by Rene Weber <rene_debmaint@public.e-mail.elvenlord.com>, for the Debian GNU/Linux system (but may be used by
others).
June 25, 2004 DAILYSTRIPS-UPDATE(1)