GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Support getting canonical filesystem paths with symlinks resolved, similar to the Linux realpath utility · Issue #10640 · PowerShell/PowerShell Closed Labels Area-FileSystem-Providerspecific to the FileSystem providerspecific to the FileSystem providerIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues DescriptionSummary of the new feature/enhancementProvide the ability to resolve a filesystem path to its canonical path, such as by adding a In short: The idea is to allow you to answer the following question: Given a (possibly relative, possibly PS-drive-based) file or directory path, where does the referenced file truly live, with symlinks, if any, resolved to their underlying target location, expressed as an absolute, native filesystem path? For instance, say you want to know the canonical path of file You could then do something like: # WISHFUL THINKING PS> Convert-Path -Canonical '/User Guides And Information/ENERGY STAR.pdf' /Library/Documentation/User Guides and Information.localized/ENERGY STAR.pdf On at least some Linux distros, the Note that this new feature would complement the existing ability to inspect a symlink's (reparse point's) target via the The latter only operate on symlinks themselves, not on paths based on them (paths with additional components); additionally, the Proposed technical implementation details (optional)
Decisions will also have to be made with respect to how final path components that don't exist yet are handled (i.e., a prefix of the path exists (an ancestral directory), but not the filename part or a relative subdirectory-based path), and how to handle broken symlinks; these cases are reflected in the GNU Note that Update: Implementing this functionality as a .NET API that this feature could build on, in the form of a new Reacted by Peter Vandivier Activity
MetadataMetadataAssigneesLabelsArea-FileSystem-Providerspecific to the FileSystem providerspecific to the FileSystem providerIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |