Coder Social home page Coder Social logo

aliaspath's People

Contributors

rptb1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aliaspath's Issues

Problem with alias ending in forward slash in finder

This is a superb tool; thank you for it. I've found one problem that may not be solvable. The wine emulator (at least in its Wineskin package) creates a folder named dosdevices which contains a set of aliases that represent Windows paths in wine. In the terminal, these aliases have names like c: and d:. In the finder, they display as c/ and d/. I can't find any way to make aliasPath output their actual paths. Am I missing something obvious, or is this syntax something that aliasPath can't handle?

When I use aliasPath with every variety of quoting or escaping that I can think of, I get error messages saying there is no such file.

I'll be grateful for any help with this.

Option to update paths?

Hi, this is a nice tool, thanks for making it available. I notice while playing around with it, that unlike AppleScript-based methods for querying the path of the original, this tool keeps returning the path that the alias was created with. In some cases, if the alias is broken, that's what I want. In other cases it isn't. For instance, I might create an alias to a file at path A, then move that file to path B, then run this tool. It will still tell me path A. If I then use AppleScript to query the path of the original, it will tell me path B. At this point I assume the actual alias file has updated its path. But this tool continues to report path A. Is there any simple fix that would get this tool to resolve to the current path of the target file if available, else fall back to the path it's now reporting?

does not install

I cloned the repo to /usr/local/bin and then typed the command sudo xcodebuild install at /usr/local/bin/aliasPath. I got the following output:

sudo xcodebuild install
Password:
=== BUILD TARGET aliasPath OF PROJECT aliasPath WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies

Write auxiliary files
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-project-headers.hmap
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath.hmap
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-all-target-headers.hmap
/bin/mkdir -p /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath.LinkFileList
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-generated-files.hmap
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-own-target-headers.hmap
write-file /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-all-non-framework-target-headers.hmap

SymLink build/Release/aliasPath /usr/local/bin/aliasPath
    cd /usr/local/bin/aliasPath
    /bin/ln -sfh /usr/local/bin/aliasPath /usr/local/bin/aliasPath/build/Release/aliasPath

CompileC build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath.o aliasPath.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /usr/local/bin/aliasPath
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=57 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wno-bool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-generated-files.hmap -I/usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-own-target-headers.hmap -I/usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-all-target-headers.hmap -iquote /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/aliasPath-project-headers.hmap -I/usr/local/bin/aliasPath/build/Release/include -I/usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/DerivedSources/x86_64 -I/usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/DerivedSources -F/usr/local/bin/aliasPath/build/Release -MMD -MT dependencies -MF /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath.d --serialize-diagnostics /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath.dia -c /usr/local/bin/aliasPath/aliasPath.m -o /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath.o

Ld /usr/local/bin/aliasPath normal x86_64
    cd /usr/local/bin/aliasPath
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/usr/local/bin/aliasPath/build/Release -F/usr/local/bin/aliasPath/build/Release -filelist /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath.LinkFileList -Xlinker -object_path_lto -Xlinker /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath_lto.o -Xlinker -final_output -Xlinker /usr/local/bin/aliasPath -fobjc-arc -fobjc-link-runtime -framework Foundation -Xlinker -dependency_info -Xlinker /usr/local/bin/aliasPath/build/aliasPath.build/Release/aliasPath.build/Objects-normal/x86_64/aliasPath_dependency_info.dat -o /usr/local/bin/aliasPath
ld: can't open output file for writing: /usr/local/bin/aliasPath, errno=21 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
warning: not removing '/usr/local/bin/aliasPath' after command failed: Invalid argument (in order to avoid potential data loss)

** INSTALL FAILED **


The following build commands failed:
	Ld /usr/local/bin/aliasPath normal x86_64
(1 failure)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.