04-17-2012
Thank you very much for your helping. I tried and it works! Could you tell me please how the new file can be created in a other location. For example, I have the main dir, called DIR1 with subdirs called EX1, EX2, A1, A2 ....The xml files are located in subdirs. This dir is on C drive. I want to create a new dir named DIR1 with the same stucture and only the new files in F drive.
Thank you in advance!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone direct me to a resource that explains scripting in simple terms?
I have visited many sites and browsed this forum and have yet to find simple explanations. (8 Replies)
Discussion started by: rocinante
8 Replies
2. Shell Programming and Scripting
script is:
dirname= "$(date +%b%d)_$(date +%H%M)"
mkdir $dirname
should create a directory named Nov4_
Instead I get the following returned:
root@dchs-pint-001:/=>./test1
./test1: Nov04_0736: not found.
Usage: mkdir Directory ...
root@dchs-pint-001:/=>
TOO easy, but what am I... (2 Replies)
Discussion started by: gwfay
2 Replies
3. Shell Programming and Scripting
Hi all! Im wondering if its possible to create a GUI for a shell script I just got done writing as the people that will be using it dont like the command line all to well. Just something simple with radio buttons to select options, maybe a text field to enter a location to save the file generated... (1 Reply)
Discussion started by: Grizzly
1 Replies
4. Shell Programming and Scripting
Hi
I want to write a small script that will create folders named from `AAAA' all the way to `ZZZZ'.
That is:
`AAAA'
`AAAB'
`AAAC'
...
`AABA'
`AABB'
`AABC'
...
`ABAA'
`ABAB'
`ABAC'
...
`ABBA'
...
`ZZZZ' (4 Replies)
Discussion started by: ksk
4 Replies
5. Solaris
I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9... (3 Replies)
Discussion started by: vinaysa
3 Replies
6. Shell Programming and Scripting
Hello - I am in process of deleting many files which are older than 4 weeks.
For example I am inside:
/subsystem/prod/
Files are with various extentions, but anything older than 4 weeks should be deleted.
What would be the most simplest script to acheive this? (4 Replies)
Discussion started by: DallasT
4 Replies
7. Shell Programming and Scripting
Hi all, I am brand new to these forums and I am a brand new UNIX Administartor. Don't know any scripting yet :wall:, and would like to learn as my boss is slowly letting me understand everything about being a Sys/*Nix Admin. He created this script which I am trying to replicate because I lost it... (54 Replies)
Discussion started by: zixzix01
54 Replies
8. Shell Programming and Scripting
Guys I want to do this:
copy:
/var/router/system1/config/backup/install.put
/var/router/system2/config/backup/install.put
/var/router/system3/config/backup/install.put
/var/router/system4/config/backup/install.put
into:
/var/router/system1/config/install.dat... (22 Replies)
Discussion started by: DallasT
22 Replies
9. Shell Programming and Scripting
Hello all!
This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician.
Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix:
... (16 Replies)
Discussion started by: torchij
16 Replies
10. UNIX and Linux Applications
Hello ,
I am new in this forum and need your help as I am totally confused :confused:
I read a lot of threads and tried to search a lot but did not get the exact answer to my question.
I just want a simple (content wise may be long) shell script to create oracle database.
In detail:... (5 Replies)
Discussion started by: rahoolm
5 Replies
LEARN ABOUT REDHAT
foomatic-kitload
FOOMATIC-KITLOAD(8) System Manager's Manual FOOMATIC-KITLOAD(8)
NAME
foomatic-kitload - installs a data kit into the foomatic database.
SYNOPSIS
foomatic-kitload [ -k kit-dir] [ -d dest-dir]...
DESCRIPTION
foomatic-kitload installs a foomatic data kit into the local data library. It takes a -k dirname option, where dirname is the toplevel
directory of a foomatic driver "kit". A "kit" is a selection of XML source files arranged exactly as in the source/section of the master
database (ie, opt/driver/printer/ subdirs).
GIMP-Print's foomatic-generator produces exactly such a kit.
Foomatic-kitload is moderately paranoid about kits: the kit must contain at least one of printer, driver or opt; the kit must contain only
files ending in .xml, the kit cannot be the local library itself, etc. But it does not inspect the contents of the kit files in any way.
Options
-k dirname
dirname is the toplevel directory of a foomatic driver "kit".
-d destdir
destdir is a prefix to prepend to the install path. This will not normally be required, but is useful if installing into a tem-
porary `staging area' prior to installing in the final destination.
EXIT STATUS
foomatic-kitload returns 0 on success, 255 or something else when an error occurs.
AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary.
BUGS
Please send bug reports to foomatic-devel@linuxprinting.org.
Foomatic Project 2001-05-07 FOOMATIC-KITLOAD(8)