Menu
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Linux Tutorials
Beginner Tutorials
Intermediate Tutorials
Advanced Tutorials
Members
Current visitors
New profile posts
Search profile posts
Download Linux
Newsletter
Credits
Transactions
Credits: 0
Log in
Register
What's new
Search
Search
Search titles only
By:
Latest activity
Register
Menu
Log in
Register
Check it out - we have a chatbot! Go ask TuxBot a question in the
Ask Tuxbot
section!
Search
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Search results
R
Find two files of similar name which have different extention and copy to new location
for f in *sac.; do same=("${f%.*}".*); [ "${#same[@]}" -eq 1 ] && mv "$f" /home/newtst ; done
Rahman_
Post #2
Jul 26, 2019
Forum:
General Linux
R
Find two files of similar name which have different extention and copy to new location
I have a directory containing files as given below PALK.BHZ.2010.10.31.12.23.42.350.10.sac. PALK.BHZ.2010.10.31.12.23.42.350.10.sac..dsp PALK.BHZ.2010.11.08.07.37.10.140.00.sac...
Rahman_
Thread
Jul 25, 2019
shell scripting
Replies: 2
Forum:
General Linux
Search
Top