The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Multi-copying a file
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Multi-copying a file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-25-2008
era
Herder of Useless Cats (On Sabbatical)
Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Not directly. Use a loop, perhaps?
Code:
for f in 12 13 14 15 16; do cp xsec.1.11 xsec.1.$f done
What's the use of the multiple copies? Perhaps you could put symbolic links in place once, and be done with it?
era
View Public Profile
Visit era's homepage!
Find all posts by era
Find era's past nominations received
Find era's present nominations given