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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
ns_fmttime
ns_time(3aolserver) AOLserver Built-In Commands ns_time(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_time, ns_fmttime, ns_gmtime, ns_localtime, - commands
SYNOPSIS
ns_fmttime time ?format string?
ns_gmtime
ns_localtime
ns_time
_________________________________________________________________DESCRIPTION
ns_time: Returns the value of time in seconds since 00:00:00 UTC, January 1, 1970. This return value is suitable as input to the ns_http-
time function to get the current time.
ns_fmttime: Formats the time string,time,according to the format provided in format string. If no format is provided, defaults to "%a %b %e
%H:%M:%S %Z %Y".
ns_gmttime: Returns a Tcl list of the pieces of the current Greenwich Mean Time. The pieces are
seconds (0-59)
minutes (0-59)
hours (0-23)
dayofmonth (1-31)
monthofyear (0-11)
year (year-1900)*
dayofweek (Sunday=0)
dayofyear (0-365)
1 if Daylight Savings Time is in effect
ns_localtime: Returns a Tcl list of the pieces of the current local time. The pieces are
seconds (0-59)
minutes (0-59)
hours (0-23)
dayofmonth (1-31)
monthofyear (0-11)
year (year-1900)*
dayofweek (Sunday=0)
dayofyear (0-365)
1 if Daylight Savings Time is in effect
EXAMPLES
ns_fmttime [ns_time] returns: Tue Nov 12 15:14:47 2002 ns_fmttime [ns_time] "%Y%m%d" returns: 20021112
SEE ALSO
ns_httptime
KEYWORDS AOLserver 4.0 ns_time(3aolserver)