Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy all regular files in a dir

Status
Not open for further replies.

c567591

MIS
Aug 12, 2002
67
US
Is there a way in sco 5.0.x to copy just all regular, non-linked files?
I am working on a script for copying stuff over for my clients when they upgrade and this would help me not miss files.
 
man find

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks, I found my answer that way.
To share it with others:
To find real, as in non-linked files use:
find with an option -type f
so to look in current dir and no lower for "real" files:
find . -type f -level 0 -print
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top