Link to home
Start Free TrialLog in
Avatar of jkavx
jkavx

asked on

Confirm file copy in shell script

I have a shell script that has steps to copy files.  How do I confirm that the file copy actually occurred?
ASKER CERTIFIED SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jkavx
jkavx

ASKER

Thx.  I have a similar problem with an ant task that executes make.  How can I determine if the make fails or not:

    <target name="package">
          <exec dir="pkg" executable="make">
               <arg value="package"/>
         </exec>
    </target>