06-03-2015
Thanks all - much easier than i thought!
Cheers
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to load a group of files and their last dates modified into a text file that will in turn be used with SQL*Loader to load these files into Oracle. I am using a *.ksh script. I am getting the name of the file in by using the following:
for file_ext in 'cat loaddir.ext';
do
find... (2 Replies)
Discussion started by: akpopa
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I operate and use HF radars along the California coast for ocean surface currents. The devices use Mac OS as the control and logging software. The software generates thousands of files a week and while I've used PERL in the past to solve the problems of finding files I come to realize some... (6 Replies)
Discussion started by: dpath2o
6 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am currently using the following command:
files=(ls enuCPU??.????.exp ntuCPU??.????.exp)
I need to now change the commmand to store the file names of files that have been modified before datetime equal to say '02/16/2008 20:30:00'
What could I use? (2 Replies)
Discussion started by: edisonantus
2 Replies
4. Shell Programming and Scripting
Hi,
I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10).
For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
16 Replies
5. UNIX for Dummies Questions & Answers
Hello all - I've looked and have not been able to find a "find" command that will list the last modified date of files within a specific directory and its subdirectories. If anyone knows of such a command it would be very much appreciated!
If possible, I would like to sort this output and have... (5 Replies)
Discussion started by: MichaelH3947
5 Replies
6. Shell Programming and Scripting
I need a unix command which will find all the files greater that a particular date in the file name.
say for example I have files like(filenaming cov : filename.YYDDMMSSSS.txt)
abc.201206015423.txt
abc.201207013456.txt
abc.201202011234.txt
abc.201201024321.txt
efg.201202011234.txt... (11 Replies)
Discussion started by: lijjumathew
11 Replies
7. Shell Programming and Scripting
I'm having problems with my bash script. I would like to find a file matching today's date in the filename, i.e. my_file_20120902.txt and then move it to a different directory, i.e. /tmp. Thanks. (1 Reply)
Discussion started by: jamesi
1 Replies
8. Shell Programming and Scripting
Hi,
We've a list of files that gets created on a weekly basis and it has got a date and time embedded to it. Below are the examples. I want to find out how to get the latest files get the date and time stamp out of it.
Files are
PQR123.PLL.M989898.201308012254.gpg... (1 Reply)
Discussion started by: rudoraj
1 Replies
9. UNIX for Dummies Questions & Answers
Hi i have two directories and files inside them
Directory 1:
Directory 2:
These files are the same but song.mp3 in Directory 1 is newer than song.mp3 in Directory 2, and work.txt in Directory 2 is newer than work.txt in Directory 1.
Now is my question. How i can compare these files... (10 Replies)
Discussion started by: Falstaff
10 Replies
10. UNIX for Dummies Questions & Answers
This should recursively walk through all dirictories and
search for a specified string in all present files, if found
output manicured content (eg some regex) with CAT into
a specified directory (eg /tmp/)
one by one, keeping the original names
This is what I have so far, which seems to... (1 Reply)
Discussion started by: lowmaster
1 Replies
LEARN ABOUT DEBIAN
ibid-factpack
IBID-FACTPACK(1) Ibid - Multi-protocol Bot IBID-FACTPACK(1)
NAME
ibid-factpack - Factoid-package management utility for Ibid
SYNOPSIS
ibid-factpack [-s] factpack-file
ibid-factpack -r [-f] factpack-name
ibid-factpack -h
DESCRIPTION
This utility is for adding and removing sets of packaged factoids, known as factpacks, from your Ibid's factoid database.
The default mode is factpack loading. The factpack-file specified is loaded into the bot's database. Should the pack contain any facts
with the same name as an existing fact in the bot's database, loading will be aborted, unless the -s option is supplied.
Factpacks can be gzipped if the filename ends with .gz.
When invoked with the -r option, the named factpack (original import filename minus the extension) will be removed from the bot. If any of
the facts contained in that pack were modified while loaded in the bot, unloading will be aborted, unless the -f option is supplied.
OPTIONS
-r, --remove
Remove the named factpack, rather than importing.
-f, --force
Force removal, if facts in the factpack were modified by users.
-s, --skip
Skip facts that clash with existing factoids, during import.
-h, --help
Show a help message and exit.
FACTPACKS
Factpacks are JSON-encoded text files containing a list of facts. Each fact is a tuple of two lists: fact-names, fact-values. The same
substitutions are available as in normal online Factoids.
Example:
[
[["Hello", "Hi"], ["<reply> Hi There", "<action> waves"]],
[["Bye"], ["<reply> kbye $who", "<reply> Cheers"]]
]
FILES
ibid.ini
Locates the database to act upon by looking for the [databases].ibid value in the bot configuration file in the current directory.
SEE ALSO
ibid(1), ibid.ini(5), http://ibid.omnia.za.net/
Ibid 0.1 March 2010 IBID-FACTPACK(1)