Search Results

Search: Posts Made By: Oortone
2,140
Posted By Oortone
Thanks, that works nicely. I should have a...
Thanks, that works nicely.

I should have a look at vi.
2,140
Posted By Oortone
Yes, that works. Thanks! But I realized i need...
Yes, that works. Thanks!
But I realized i need to remove the ".wav" before adding the ".bwf".
Which is the most convenient method for that?

---------- Post updated at 10:33 AM ----------...
2,140
Posted By Oortone
Can't get mv to work properly
Trying to use mv in a shell script but for some reason this does not work:
for f in *.wav;do mv $f $f.bwf;done
I get this:
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n]...
3,074
Posted By Oortone
OK, thanks. I can probably make this work. ...
OK, thanks. I can probably make this work.
Although man-pages is the place where I always get lost you gave me the secret word: "parameter expansion" so now I can Google it instead finding examples!
3,074
Posted By Oortone
Yes, that's my prefered output. But the input may...
Yes, that's my prefered output. But the input may be both with and without leading zeroes but maybe that's not a problem? It works in both cases?

Regarding separation character, Corona688 helped...
3,074
Posted By Oortone
Thank's for helping out. You're right....
Thank's for helping out.

You're right. That's probably not a good idea. I guess some other common separation character that's not usually part of things like songtitles would be better. The data...
3,074
Posted By Oortone
Leading zeroes is the preffered chioce for 1-9....
Leading zeroes is the preffered chioce for 1-9. Sorry for confusing things.

I also do realize now that'-' is probably a very bad separation character since it can be part of song titles. That's...
3,074
Posted By Oortone
Thanks, the files originate from an old audio...
Thanks, the files originate from an old audio tape archive which at one point has been digitized. The textfiles where created a long time ago on a separate system.

I will have a look at your...
3,074
Posted By Oortone
Sorry for late answer, been busy. Yes, I...
Sorry for late answer, been busy.

Yes, I think you got it just right.
The file with index 1 get's it name from line 1 in the document.
The file with index 23 get's it name from line 23 in the...
3,074
Posted By Oortone
Rename files based on simple text file
Hello!

New here although not completely new to Unix.
I wonder how I could rename files based on the data found in a simple textfile.
It goes like this:

I have 4 files
1...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 08:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy