10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, I have about 60 files in a directory and need to rename those files. For example the file names are
i_can_phone_yymmdd.txt (where yymmdd is the date. i.e 170420 etc)
The new file names should be
I am... (4 Replies)
Discussion started by: naveed
2. Shell Programming and Scripting
I'm new to Unix shell scripting .
I've the following requirement
A folder contains the list of files with the following format
I have to rename the above file to like below
... (6 Replies)
Discussion started by: smile689
3. Shell Programming and Scripting
I am looking for a simple way to write numbers to a file sequentially starting from 1 and ending on a specified upper limit. Example of the output file is below
please let me know the best way to do it. (10 Replies)
Discussion started by: Lucky Ali
4. UNIX for Dummies Questions & Answers
I have a small problem of renaming multiple files. For example I have names of a set of files in one directory like
and the other set corresponding to the same is
Now... (23 Replies)
Discussion started by: pawannoel
5. Shell Programming and Scripting
I have 7 files with 7 different names coming into a specified folder on weekly basis, i need to pick a file one after another and load into oracle table using sql loader. I am using ksh to do this. So in the process if the file has error records and if sql loader fails to load into oracle tables,... (2 Replies)
Discussion started by: vpv0002
6. Shell Programming and Scripting
I want to write a shell script that will rename all the file names to today's date attached to it..
so for example i have a file names like
then it will rename both the files with todays date to it so the file names get changed... (1 Reply)
Discussion started by: rudoraj
7. Shell Programming and Scripting
So, I've got a ton of files that I want to go through (ie something like 300,000), and they're all labeled sequentially. However I'm not 100% positive that they are all there.
Is there any way of running through a sequence of numbers, checking if the file is in the folder, if not appending it... (2 Replies)
Discussion started by: Julolidine
8. UNIX for Dummies Questions & Answers
How to separate numbers and words(with full alphabets) in a particular file and store it in two different files.
Please help me out for this.Using shell scripting.
:confused::confused: (1 Reply)
Discussion started by: kamakshi s
We have to convert a sequential file to a 80 char line sequential file (HP UX platform).The sequential file contains special characters. which after conversion of the file to line sequential are getting coverted into "new line" or "tab" and file is getting distorted. Is there any way to read these... (2 Replies)
Discussion started by: Rajeshsu
10. UNIX for Dummies Questions & Answers
Hi Unix gurus,
I have a file. I need to insert sequential number at the starting of the file. Fields are delimited by "|". I know the starting number.
File is as follows
starting number is : 120
... (7 Replies)
Discussion started by: jingi1234