Hi Gurus,
I have some files(all ending with .out as extension).
Ex:
aa1.out
aa2.out
aa3.out
I would like to append each file with the current date to the end of the file so that they should become aa1_20090504.out.
So I am using rename as follows:
for i in path/aa* ; do mv $i... (5 Replies)
I would like to copy files from one directory to another directory while renaming them at the same time. Does anyone have any ideas on how to do this in a script?
Basically, would like to copy files from
/user/data/prod/*.txt
to
/user/data/bck/*.txt.bck (3 Replies)
The goal is to read names of files defined ouside in upload.conf and rename them using date, time and proper extension. I have made short script
while read; do
cp "$RELAY" "$RELAY(date +%Y-%m-%d_%H:%M:%S)_DEPLOYED.ear"
done < upload.conf
but unfortunatelly it fails printiong the... (9 Replies)
Hey guys,
I'm really new to UNIX and shell scripting in general. For my internship I need to rename a bunch of files. Specifically, I need to change the first letter of each of the files to lowercase and I have to change the endings so they all basically look like "file_cone.jpg". I know I... (4 Replies)
Hey all!
Sorry for the noobish question..
I am wondering how to I copy multiple files, and rename them based on their directory at once.
So, I have files like this
/logs/server/2011-10/server-1/log/file/folder/some.log.gz
/logs/server/2011-10/server-2/log/file/folder/some.log.gz... (3 Replies)
hi,
source directory as /home/home01
target directort as /home/home02
I have below files in source directory:
FrontOf_history.dat
FrontOf_history1.dat
In target directory have many files as:
Kront_2014.dat
Kront_2015.dat
Kront_2016.dat
Now i want to copy the two files... (1 Reply)
Hi
I think this should be relatively simple but I can't figure it out. I have several files with the same name in different folders within a directory (the output of a program that I ran). Something like this:
./myAnalysis/item1/round1/myoutput.txt
./myAnalysis/item1/round2/myoutput.txt... (2 Replies)
Below is the script i have but i would like simplified but still do the same job.
I need a script to copy files not directories or sub-directories into a existing or new directory. The files, if have the same name but different extension; for example 01.doc 01.pdf then only copy the .doc file. ... (1 Reply)
Hi All,
I need to copy files from one directory to another with the files to be renamed while copying if a file with the same name already exists in the target directory.
THanks,
Dev (2 Replies)
Discussion started by: dev.devil.1983
2 Replies
LEARN ABOUT DEBIAN
gtkdoc-mktmpl
gtkdoc-mktmpl(1) General Commands Manual gtkdoc-mktmpl(1)NAME
gtkdoc-mktmpl -- GTK DocBook documentation generator.
SYNOPSIS
gtkdoc-mktmpl [ See below ]
DESCRIPTION
gtkdoc-mktmpl This creates or updates the template files which contain the manually-edited documentation. (A template is a simple text form
which is filled in with the description of a function, macro, enum, or struct. For functions and macros it also contains fields for
describing the parameters.)
This script reads in the existing templates, found in tmpl/*.sgml, moves these files to tmpl/*.sgml.bak, and then recreates the .sgml files
according to the structure given in the file MODULE-sections.txt.
Any new templates added, or new function parameters, are marked with FIXME so you can do a grep to see which parts need updating.
Any templates which are no longer used (i.e. they are remove from MODULE-sections.txt) are placed in the file tmpl/MODULE-unused.txt. If
they are included again later they are automatically copied back into position. If you are certain that these templates will never be used
again you can delete them from MODULE-unused.txt.
Any parameters to functions which are no longer used are separated from the rest of the parameters with the line <!-- # Unused Parameters #
-->. It may be that the parameter name has just been changed, in which case you can copy the description to the parameter with the new
name. You can delete the unused parameter descriptions when no longer needed.
EXAMPLE
See /usr/share/doc/gtk-doc-tools/examples, for a makefile.am and a configure.in example file.
AUTHOR
This manual page was written by Christian Marillat marillat@debian.org for the Debian GNU/Linux system (but may be used by others).
gtkdoc-mktmpl(1)