ABOUT
Print absolute paths of files. All paths that exist are printed.
(ie, noting softlinks and mount points can be need revealing).

realpaths(1) is a realpath(3) clone and was made due to
some realpath bugs.

unlike realpath(3), realpaths(1) does not bake or guess part of
the path: it only uses info from Linux and or libc from the
filesystem of real files. It runs about same speed though.

It's important when dealing with symlinks and mounts to use
real information.

realpath(3) has a coulple other glitches i noted however some
might be found in realpaths(1) - - but the major issue is
whether guessing is allowed.

it is NOT tested by a world of people so note it's "a beta"

Features

  • uncovers the trickiest symlink and mount point combinations
  • does not bake parts of the path
  • does not use system calls which guess dots or allow non-existent files
  • being doubly sure of the right and current path for your real file is nice

Project Activity

See All Activity >

License

Public Domain

Follow realpaths

realpaths Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of realpaths!

Additional Project Details

Intended Audience

Advanced End Users, End Users/Desktop, System Administrators

Programming Language

C

Related Categories

C Systems Administration Software

Registered

2013-05-20