10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Suppose i have a list of files in a directory as mentioned below
1. Shankar_04152019_ny.txt
2. Gopi_shan_03122019_mi.txt
3. Siva_mourya_02242019_nd.txt
..
.
.
.
.
1000 . Jiva_surya_02282019_nd.txt
query : At one shot i want to modify the above all filenames present in one path with... (4 Replies)
Discussion started by: Shankar455
4 Replies
2. Shell Programming and Scripting
i try to set linux date & time in specific format but it keep giving me error
Example :
date "+%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01"
or
date +"%d-%m-%C%y %H:%M:%S" -d "19-01-2017 00:05:01"
keep giving me this error :
date: invalid date ‘19-01-2017 00:05:01'
Please use CODE tags... (7 Replies)
Discussion started by: umen
7 Replies
3. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies
4. Shell Programming and Scripting
I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to add one day to the busdt variable i am extracting from a file (DynamicParam.env). I am deriving the busdt as below.
Is there any function which I can use to derive as below.
If busdt=20120910, then the new derived variable value should be 20120911
If... (2 Replies)
Discussion started by: dsfreddie
2 Replies
6. Shell Programming and Scripting
Hi I have a date format in a variable as Mon Jan 11 03:35:59 2010. how do i change it to YYYYMMDD format (3 Replies)
Discussion started by: keerthan
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Could you please let me know the command to change my date /time beyond few days back. Currently when i am trying the below commands able to go beyond one day at max.
-->date
-->Mon Sep 29 19:31:58 EST 2008
-->export TZ=TMP40:00:00 (Changing the date beyond 40 hours)
-->Sun Sep 28... (4 Replies)
Discussion started by: komala
4 Replies
8. Shell Programming and Scripting
I want to chnage the date format from the file format like below to
WT;T15D;0000007208;;20080401;3;0;0;3;;B;ZZZZZZ;
WT;T25D;0000007208;;20080401;6;0;0;6;;B;ZZZZZZ;
WT;T5D;0000007208;;20080401;123;0;0;123;;B;ZZZZZZ;
to
WT;T15D;0000007208;;04/01/200804;3;0;0;3;;B;ZZZZZZ;... (2 Replies)
Discussion started by: svenkatareddy
2 Replies
9. UNIX for Dummies Questions & Answers
Assume, I created one file three years back and I like to move the file to some other directory with the old date (Creation date)? Is it possible? Explain? (1 Reply)
Discussion started by: jee.ku2
1 Replies
10. UNIX for Dummies Questions & Answers
hi all,
I wonder how to change the date and timezone in OpenBoot prompt. Appreciate any idea.
Thanks in advance (1 Reply)
Discussion started by: andrec
1 Replies