The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Script to number incoming files
.
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
:
Script to number incoming files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
03-19-2009
hootdocta5
Registered User
Join Date: Mar 2009
Posts: 5
Quote:
Originally Posted by
wabard
Code:
#!/bin/sh i=1 while(a=1) do if test -e "FILE."$i then let i+=1 else break fi done cp -r FILE FILE.$i
what exactly does the a represent in this code?
hootdocta5
View Public Profile
Find all posts by hootdocta5
Find hootdocta5's past nominations received
Find hootdocta5's present nominations given