09-29-2005
Type in ls ?? to list all files with 2 character names. If this file is the only one, then you can mv ?? newfilename.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
how can can remove the underscore from this number in this series
_1234567.abc
_1234567.abcd
I was trying mv _1234567* 1234567
but did not work ?
thanks
s (2 Replies)
Discussion started by: simon2000
2 Replies
2. Shell Programming and Scripting
hi friends,
I writing a script to psot dataset to ceratin server.....while doing ftp I have to rename the file while which is in present server like
present :test server
filename data.097878.
ftp server: it sholu be renamed as data.097878.zip
thanks,
The thing is that while... (1 Reply)
Discussion started by: Nagabhushan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi, I've already search for this issue but I found different scripts for rename files, but I don't know how to customize it for my needs.
Here's what I want to do:
I have a lot of files inside many directories, like this:
/aa/01.txt
/aa/02.txt
/ab/01.txt
/ab/02.txt
I want all those files... (2 Replies)
Discussion started by: piltrafa
2 Replies
4. Shell Programming and Scripting
hi,
im doin an assignment which requires you to build a shell script to do the MS DOS style equivilant (sp?) of the rename function. What i have to do is a loop which checks the following rules and output messages (same):
Can't have anything after target
Can't have more than one dot
Can't... (1 Reply)
Discussion started by: bohoo
1 Replies
5. UNIX for Dummies Questions & Answers
hi guys i am writing a script to change the filename which is enterered as input to lower case letter even if one letter is upper case i have to change it to lower case
i get the input and use
sed comand should i use like that
sed/s/a-z/A-Z/d
will it be like that can u please help me (8 Replies)
Discussion started by: farhan_t49
8 Replies
6. Shell Programming and Scripting
Hi,
I am new to Unix and i have a requirement where i need to write a shell script where i have to loop through various files present in a directory and rename them based on below criteria.
Files in the folder are in the following format. _YYYYMMDD.dat]
SDL_V1_20100530.dat... (6 Replies)
Discussion started by: bishoo
6 Replies
7. UNIX for Dummies Questions & Answers
how to rename a file if I don't know file location ?
Can we below command :
$ find / | mv file1.txt
I am not sure........can any1 help me out ?
Thanks,
Tushar Joshi:mad: (1 Reply)
Discussion started by: tusharjoshi
1 Replies
8. Shell Programming and Scripting
hello, all
I have following files:
file_1 file_2 file_3 ... file_9
Now I want to rename them as:
file_001 file_002 file_003 ... file_009
how to use function 'rename' to accomplish this task? (2 Replies)
Discussion started by: littlewenwen
2 Replies
9. UNIX for Dummies Questions & Answers
I want to rename files
Files show like this
1977SSD_rsdtst.pdf
1976SDP_rstdtsr.pdf
1943FDT_rstdsrt.pdf
1996DFF_stdstrd.pdf
I want to introduce _ after the year, and move the characters to the end
to get
1977_rsdtst_SSD.pdf
1976_rstdtsr_SDP.pdf
1943_rstdsrt_FDT.pdf... (4 Replies)
Discussion started by: kristinu
4 Replies
10. Shell Programming and Scripting
Renaming files using rename on the following files
rename 's/.99999/.99999.sac.pzs/g' *.99999
sac_pzs_iv_esml_hhz__2013.074.10.18.23.0000_2599.365.23.59.59.99999
sac_pzs_iv_favr_hhe__2010.187.00.00.00.0000_2599.365.23.59.59.99999... (1 Reply)
Discussion started by: kristinu
1 Replies
LEARN ABOUT DEBIAN
config::model::models::debian::dpkg
Config::Model::models::Debian::Dpkg(3pm) User Contributed Perl Documentation Config::Model::models::Debian::Dpkg(3pm)
NAME
Config::Model::models::Debian::Dpkg - Configuration class Debian::Dpkg
VERSION
version 2.021
DESCRIPTION
Configuration classes used by Config::Model
Model of Debian source package files (e.g debian/control, debian/copyright...)
Elements
my_config
This element contains a set of parameters to tune the behavior of this dpkg editor. You can for instance specify e-mail replacements. These
parameters are stored in ~/.dpkg-meta.yml or ~/.local/share/.dpkg-meta.yml. These parameters can be applied to all Debian packages you
maintain in this unix account.Optional. Type node.
control
Package control file. Specifies the most vital (and version-independent) information about the source package and about the binary packages
it creates.Optional. Type node.
rules - package build rules
debian/rules is a makefile containing all intructions required to build a debian package.Optional. Type string.
copyright - copyright and license information
copyright and license information of all files contained in this package. Optional. Type node.
source
Optional. Type node.
clean - list of files to clean
list of files to remove when dh_clean is run. Files names can include wild cards. For instance:
build.log
Makefile.in
*/Makefile.in
*/*/Makefile.in
Optional. Type list of uniline.
patches
Optional. Type hash of node.
compat
compat file defines the debhelper compatibility level. Optional. Type integer. default: '9'.
dirs - Extra directories
This file specifies any directories which we need but which are not created by the normal installation procedure (make install DESTDIR=...
invoked by dh_auto_install). This generally means there is a problem with the Makefile.
Files listed in an install file don't need their directories created first.
It is best to try to run the installation first and only use this if you run into trouble. There is no preceding slash on the directory
names listed in the dirs file. Optional. Type list of uniline.
docs
This file specifies the file names of documentation files we can have dh_installdocs(1) install into the temporary directory for us.
By default, it will include all existing files in the top-level source directory that are called BUGS, README*, TODO etc. Optional. Type
list of uniline.
SEE ALSO
o cme
o Config::Model::models::Debian::Dpkg::Control
o Config::Model::models::Debian::Dpkg::Copyright
o Config::Model::models::Debian::Dpkg::Meta
o Config::Model::models::Debian::Dpkg::Patch
o Config::Model::models::Debian::Dpkg::Source
AUTHOR
Dominique Dumont
COPYRIGHT
2010,2011 Dominique Dumont
LICENSE
LGPL2
perl v5.14.2 2012-11-09 Config::Model::models::Debian::Dpkg(3pm)