Sign in to follow this  

bash scripting question

This topic is 4712 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Quote:
Original post by Genjix
I have virtually no idea how to do this, and I have spent ages googling (I have tried).

if [ fexist $1 ]; then
if [ file_date $1 -gt $someotherfile ]; then
# ...
fi
fi

Thanks.


I might help if you explained what you are trying to do.

Share this post


Link to post
Share on other sites
Sign in to follow this