10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So given filenames of varying lengths, I was wondering how I would remove or modify appended timestamps of the current date DD-MM-YY.
And what I expect the output to be:
Thanks :) (2 Replies)
Discussion started by: sodaboyz
2. UNIX for Dummies Questions & Answers
I would like to know how to do this in bash script :
NEW_WORD --> ABCD_EFGH.0.100.40
NEW_WORD --> ABCD_EFGH.0.50
... (2 Replies)
Discussion started by: jcdole
3. Shell Programming and Scripting
hi, I have quite a bunch of files with annoyingly long filenames. I wanted to cut the range of characters from 9-18 and just retain the first 8 characters and the .extension. any suggestion how to do it. thanks much.
original filename: 20000105_20000105_20100503.nc.asc
output filename:... (4 Replies)
Discussion started by: ida1215
4. Shell Programming and Scripting
Is there an easy way to strip off a filename's extension?
For example, here's a filename:
I want to get rid of .thisisnotok from the filename, so that what's left is
Thanks. I have a directory full of filenames that need to be... (5 Replies)
Discussion started by: daflore
5. UNIX for Dummies Questions & Answers
I have 3 files (say) in a folder as in the example below
I need to move these files to a different folder as follows
I am trying to put together a script with a for loop which reads the source filenames... (5 Replies)
Discussion started by: bobsn
6. UNIX for Dummies Questions & Answers
It's my first time here... anyways, I have a simple problem with these filenames. This is probably too easy for you guys:
The only pattern available are the ff:
1) All... (9 Replies)
Discussion started by: Joule
I have a file called pdf.txt which has the following list inside:
I need a looping script to REMOVE the 8th and 9th character of the filenames listed, no matter what character that is.
So... (4 Replies)
Discussion started by: chipahoys
8. Shell Programming and Scripting
I have a list of xml file. I need to split the files to a different files when see the <ko> tag.
The list of filename are
... (3 Replies)
Discussion started by: natalie23
9. Shell Programming and Scripting
I have a Folder (myfile) which contain the following files:
Is there a sed command(s) that will loop through this folder
and remove the spaces that exists in the filename?
Any help would be... (7 Replies)
Discussion started by: Fishn
On AIX 5200-07-00 I have a find command as following to delete files from a certain location that are more than 7 days old. I am being told that I cannot use -exec option to delete files from these directories.
Having said that I am more curious to know how this can be done.
an sample... (3 Replies)
Discussion started by: jerardfjay