Search Results

Search: Posts Made By: vacuity93
10,258
Posted By vacuity93
this only creates one ".ext2" in the same...
this only creates one ".ext2" in the same directory, without any name, with only the second extension

but I found another solution now, thank's!

---------- Post updated at 04:45 AM ----------...
10,258
Posted By vacuity93
I had a wrong time zone in the settings, but now...
I had a wrong time zone in the settings, but now I've changed it
10,258
Posted By vacuity93
edit* I've solved the second problem now :D ...
edit* I've solved the second problem now :D
P.S. I can't send PMs, because I don't have 10 forum posts yet, so I'll answer here-nevermind, and thank's a lot :)
10,258
Posted By vacuity93
thank you! it's working, but it replaces the old...
thank you! it's working, but it replaces the old files by new ones. how can I keep the old files?
10,258
Posted By vacuity93
yes, exactly! it should copy all files with any...
yes, exactly!
it should copy all files with any filename, that have the $1 extension, and keep these original filenames, changeing only the extension to $2.
10,258
Posted By vacuity93
actually what I've done so far is rather pathetic...
actually what I've done so far is rather pathetic and it's not working :D
$1-first parameter, old extension
$2-second parameter, new extension

cp *.$1 (???).$2

I don't know how to keep the...
10,258
Posted By vacuity93
copy all files matching the request and change the extension at the same time
Hi everyone

When I'm starting my script I'm giving to it two parameters:

script.sh ext1 ext2

I need to copy all files in a directory fitting ext1, to the same folder, with the same names,...
Showing results 1 to 7 of 7

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