08-25-2019
Thank you for updating your solution and marking your post "solved" in the tag section.
Good work!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
After checking all the UNIX threads, I am able to come up with a solution so far. I am working on a shell script where it moves the files to a certain directory. The conditions to check are
1) Check if the file exists in the current directory.
2) Check if the destination directory... (2 Replies)
Discussion started by: madhunk
2 Replies
2. UNIX for Dummies Questions & Answers
i need a script which will create a archive of the files older than 10 days........ (2 Replies)
Discussion started by: jayaramanit
2 Replies
3. UNIX for Dummies Questions & Answers
I am adding some individual files to a tar archive and would like them to be added to the archive without any directory hierarchy, even though the files themselves exist in levels of hierarchy. Unfortunately, tar seems to always preserve the directory hierarchy when it adds the files.
Here is... (2 Replies)
Discussion started by: Special_K
2 Replies
4. Shell Programming and Scripting
First and foremost - me != unix bubba.
Here is the situation. We have a box with data AND settings in the same directory path. (Data files aren't in the SAME directories as settings.) I need a script that generates a tarred-up archive of only the INI files with the directory structure. We... (2 Replies)
Discussion started by: hindesite
2 Replies
5. Shell Programming and Scripting
Hi,
I am trying to write an Archive script that should look for files older than x days, zip them and move the zip to the archive directory and delete the files that have been zipped. I am not sure how i can handle this error:
"cowardly refusing to create an empty archieve".
Just wanted to know... (9 Replies)
Discussion started by: stunnerz_84
9 Replies
6. Shell Programming and Scripting
Plese help I need a urgent requirement.
Ex: test.log
requirement : using shell script I need to archive the log file and nil and the content of (test.log) file to 0 kb
and then in the archive folder log files are name to test.tar
test1.tar
test2.tar
EX:
/home/abc/
test.log ... (1 Reply)
Discussion started by: johney1981
1 Replies
7. Debian
Hi, I am Konrad , I am a new user of this forum.
I am from Poland, so my English isn't good enough. So please be forgiving for me.
I read about Bits club or something like that, So I don't know, that I am allowed to write here.
But nevertheless I have faced with small problem with wifi driver on... (4 Replies)
Discussion started by: kondziorek
4 Replies
8. UNIX for Dummies Questions & Answers
Hello, I've got an Ultrix 4.2 ISO file (gxemul doesn't recognize it when I type gxemul -X -e 3max -d rootdisk.img -d Ultrix4_2.iso)
So I read some other posts which show that this can be done via a UFS CDROM image. But I don't know how to create one. Anyway, I think the ISO file could be in... (0 Replies)
Discussion started by: lucky7456969
0 Replies
9. Debian
Dear experts,
right now I'm watching a Youtube movie and the sound is on and at maximum in the browser.
On my Thinkpad T60 I have also pressed the volume up hardware button as often as possible.
Now I'm curious if there are some advanced sound settings, so I can check if the sound level is... (2 Replies)
Discussion started by: junior-helper
2 Replies
LEARN ABOUT DEBIAN
dh-make-pear
DH-MAKE-PEAR(1) dh-make-pear User Manual DH-MAKE-PEAR(1)
NAME
dh-make-pear - Create debian source packages from pear modules
SYNOPSIS
dh-make-pear [--help ] [--version ] [--rename ] [--arch any | all] [--state STATE] [--depends DEPENDS] [--maintainer MAINTAINER]
[--prefix PREFIX] [--templatedir TEMPLATEDIR] [PACKAGE]
DESCRIPTION
This manual page documents briefly the dh-make-pear command.
dh-make-pear creates the files required to build a debian source package from a PHP extension as it is distributed through PEAR.
The last parameter passed to dh-make-pear can be either the .tgz archive containing the php extension or the name of the extension. In the
second case dh-make-pear will first download the archive from http://pear.php.net. If dh-make-pear downloads the archive itself, it will
always take the most recent version.
dh-make-pear will by default create a directory named php-<pear-package-name> which will contain the debian files and the unpacked files
from the extension. It will also create a symlink php-<pear-package-name>_<version>.orig.tar.gz pointing towards the original source. After
creating the files you can go into then new directory and build the debian package with dpkg-buildpackage -rfakeroot.
dh-make-pear tries to extract as much information about the package from the file package.xml which is part of the pear extension.
Debian source packages created by dh-make-pear can later easily be updated with uscan.
OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below. For a complete description, see the Info files.
-h --help
Show summary of options.
-v --version
Show version of program.
--rename
Do not link orig.tar.gz but move the source into .orig.tar.gz.
--arch
Set architecture of created debian source package to 'any' or 'all'. Defaults to 'all'.
--state
Set preferred state for downloaded package. Defaults to 'stable'.
--depends
Adds more packages to Depends: beside php-pear.
--prefix
Sets prefix of debian source package name. Each name ends in '<pear-package-name>'. Defaults to 'php-'.
--maintainer
Explicitly sets the maintainer. In most cases it will be propperly guessed by reading some of the environment variables.
--templatedir
Use a different directory with templates for the debian files. Defaults to /usr/share/dh-make-php/pear.template.
ENVIRONMENT
DEBFULLNAME - get the real name of the maintainer
LOGNAME or USER - get the username
DEBEMAIL or EMAIL - get the email address of the user
SEE ALSO
dh-make-pecl (1).
AUTHOR
UWE STEINMANN <steinm@debian.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2004-2010 Uwe Steinmann
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
dh-make-pear 09/01/2010 DH-MAKE-PEAR(1)