Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
dpkg-name(1)
Edit
PageHistory
Diff
Info
LikePages
dpkg-name !!!dpkg-name NAME SYNOPSIS DESCRIPTION EXAMPLES BUGS SEE ALSO COPYRIGHT ---- !!NAME dpkg-name - rename Debian packages to full package names !!SYNOPSIS __dpkg-name__ [[-a|--no-architecture] [[-o|--overwrite] [[-s|--subdir [[dir]] [[-c|--create-dir] [[-h|--help] [[-v|--version] [[-l|--license] [[-k|--symlink] [[-[[--] [[files] !!DESCRIPTION This manual page documents the __dpkg-name__ sh script which provides an easy way to rename __Debian__ packages into their full package names. A full package name consists of __ !!EXAMPLES __dpkg-name bar-foo.deb__ The file `bar-foo.deb' will be renamed to bar-foo_1.0-2_i386.deb or something similar (depending on whatever information is in the control part of `bar-foo.deb'). __find /root/debian/ -name '*.deb' | xargs -n 1 dpkg-name -a__ All files with the extension `deb' in the directory /root/debian and its subdirectory's will be renamed by dpkg-name if required into names with no architecture information. __find -name '*.deb' | xargs -n 1 dpkg-name -a -o -s -c__ __Don't do this.__ Your archive will be messed up completely because a lot of packages don't come with section information. __Don't do this.__ __dpkg --build debian-tmp __ This can be used when building new packages. __OPTIONS__ __-a, --no-architecture__ The destination filename will not have the architecture information. __-k, --symlink__ Create a symlink, instead of moving. __-o, --overwrite__ Existing files will be overwritten if they have the same name as the destination filename. __-s, --subdir [[dir]__ Files will be moved into subdir. If directory given as argument exists the files will be moved into that direcotory otherswise the name of the target directory is extracted from the section field in the control part of the package. The target directory will be `unstable/binary- __-c, --create-dir__ This option can used together with the -s option. If a target directory isn't found it will be created automatically. __Use this option with care.__ __-h, --help__ Print a usage message and exit successfully. __-v, --version__ Print version information and exit successfully. __-l, --license__ Print copyright information and (a reference to GNU) license information and exit successfully. !!BUGS Some packages don't follow the name structure !!SEE ALSO deb(5), deb-control(5), dpkg(5), dpkg(8), dpkg-deb(1), find(1), xargs(1). !!COPYRIGHT Copyright 1995,1996 Erick Branderhorst. __dpkg-name__ is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is __no__ warranty. ----
One page links to
dpkg-name(1)
:
Man1d
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.