DH_UCF(1) Debhelper DH_UCF(1)NAME
dh_ucf - register configuration files with ucf
SYNOPSIS
dh_ucf [debhelperoptions] [-A] [-n] [file...]
DESCRIPTION
dh_ucf is a debhelper program that is responsible for generating the postinst and postrm commands that register files with ucf(1) and
ucfr(1).
FILES
debian/package.ucf
List pairs of source and destination files to register with ucf. Each pair should be put on its own line, with the source and
destination separated by whitespace. Both source and destination must be absolute paths. The source should be a file that is provided
by your package, typically in /usr/share/, while the destination is typically a file in /etc/.
A dependency on ucf will be generated in ${misc:Depends}.
OPTIONS -A, --all
Install all files specified by command line parameters in ALL packages acted on.
-n, --no-scripts
Do not modify postinst/postrm scripts. Turns this command into a no-op.
file ...
Install these info files into the first package acted on. (Or in all packages if -A is specified).
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org> Jeroen Schot <schot@a-eskwadraat.nl>
11.1.6ubuntu2 2018-05-10 DH_UCF(1)
Check Out this Related Man Page
DH_UCF(1) Debhelper DH_UCF(1)NAME
dh_ucf - register configuration files with ucf
SYNOPSIS
dh_ucf [debhelperoptions] [-A] [-n] [file...]
DESCRIPTION
dh_ucf is a debhelper program that is responsible for generating the postinst and postrm commands that register files with ucf(1) and
ucfr(1).
FILES
debian/package.ucf
List pairs of source and destination files to register with ucf. Each pair should be put on its own line, with the source and
destination separated by whitespace. Both source and destination must be absolute paths. The source should be a file that is provided
by your package, typically in /usr/share/, while the destination is typically a file in /etc/.
A dependency on ucf will be generated in ${misc:Depends}.
OPTIONS -A, --all
Install all files specified by command line parameters in ALL packages acted on.
-n, --no-scripts
Do not modify postinst/postrm scripts. Turns this command into a no-op.
file ...
Install these info files into the first package acted on. (Or in all packages if -A is specified).
NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org> Jeroen Schot <schot@a-eskwadraat.nl>
11.1.6ubuntu2 2018-05-10 DH_UCF(1)
Dear friends,
My ETL is generating 10-15 files per day based on incoming values for the Product IDs. Someone has posted solution for on file but I need it for multiple files.
Following is the example of one file, i want to remove 1st columns from all the files in this folder,
example
... (5 Replies)
Hi,
I have a file with "|" separated fields. If the line doesn't contain n(say 9) "|" then put this line in a file called invalid_file.txt. If it does put this row in a file called valid_file.txt.
Any help is highly appreciated.
Thanks,
SK (1 Reply)
Hi
I am writng a script to spool some account nos information to .txt file but wants that information for each and every account no to be written in a different .txt file with account no as part of the file name of its associated file.
Thanks (32 Replies)
Hi all,
I have a positional text file that comes from some source application. Before it is processed by destination application I have to add some header (suffix) to every record(line) in the file.
e.g.
Actual File
...............
AccountDetails
AcNO Name Amount
1234 John 26578
5678... (3 Replies)
Guys,
I need to copy files from source to destination with datetime preserved
I did it with cp -p <source>/file <destinaltion>/file
But when I do stat command on copied file , it seems the copied file has "change time" modified.
Please guide me in understanding (2 Replies)
Hi All,
I have a text file with name of source files in that. source files ends with .mxml and .css. Now I want to remove the extensions of these source files.
Currently I can do so by writing 2 sed commands, as there are files with just 2 different extensions. But I want to do it in one sed... (6 Replies)
Hi,
I have many files named CCR20110720011001.CTRD
CCR20110720011501.CTRD
CCR20110720012001.CTRD
CCR20110720012501.CTRD
CCR20110720021001.CTRD
... (9 Replies)
Hi folks
I need to write a shell script to check whether source and the destination has the same files. The source and destination are over two servers and connecting through ssh. It should even compare the date i.e, the complete file name, date stamp and size should match. Should list out all the... (3 Replies)
Hi,
I have an command which find the files modified within last 3 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ..plz guide me... (5 Replies)
I have roughly ~30 .txt files in a directory which all have unique names. These files all contain text arranged in columns separated by whitespace (example file:
[#YY MM DD hh mm WDIR WSPD GST WVHT DPD APD MWD PRES ATMP WTMP DEWP VIS TIDE
#yr mo dy hr mn degT m/s m/s m sec ... (5 Replies)
I am trying to read 30 files into a command. The first file contains 10 lines and goes into this part of the command as "x"
/tmp/filearrange.sh $x
The group of files (20 files, I call them variable $i) need to be the second argument in the command and they need to be read so that they are... (9 Replies)
Hi all,
Please guide. It has to do with parsing the input file names.
I have a fairly large number of files, I want to do some operations on them in a pairwise fashion (every file has a pair).
The names are in the following pattern, with the pairs of files named with _1 and _2 , the... (4 Replies)
As many will point out, one of the benefits of using rsync (without --delete) is that it will sync files between source and destination, but not delete files in the destination which HAVE been deleted in the source. Well, I have kind of the opposite problem and I'm wondering if there are date... (2 Replies)
hi All, Any one answer my requirement.
I have source location
src_dir="/home/oracle/arun/IRMS-CM"
My Target location
dest_dir="/home/oracle/arun/LiveLink/IRMS-CM/$dc/$pc/$ct"
my source text files check with below example.text file content
$fn "\t" $dc "\t" $pc "\t" ... (3 Replies)