🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1805

testing if a file is present

#1805
From: Ger Timmens
Date: Tue, 20 Nov 1990 18:37
10 lines
602 bytes
Can anybody tell me how I can verify
whether a file exists or not ?
I want to move files and only when
they exist ! mv "file" gives an
error message if "file" not exists

Thanks,

Ger Timmens,
ger@cv.ruu.nl
Technical Details
Message-ID: <ger.659126250@prisma>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!ruuinf!prisma!ger

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!ruuinf!prisma!ger
From: ger@prisma.cv.ruu.nl (Ger Timmens)
Newsgroups: comp.unix.shell
Subject: testing if a file is present
Message-ID: <ger.659126250@prisma>
Date: 20 Nov 90 18:37:30 GMT
Distribution: comp.unix
Organization: University of Utrecht, 3D Computer Vision The Netherlands
Lines: 10