spiveeworks / hlink Goto Github PK
View Code? Open in Web Editor NEWSymlink management tool that allows powerful link structures without using any CLI or GUI.
Symlink management tool that allows powerful link structures without using any CLI or GUI.
then conversions between them could be named more sensibly as well, and programs that don't actually extract paths would be more efficient
Annoying but it'd be nice to fix
useful for making something portable, or moving an established directory full of links.
I should make a single hLink
executable, and make the other executables simple createProcess $ proc hLink (commandName : paths)
binaries.
In fact I could use the current structure for executables, but with a single callHLink function being passed different command names.
getArgs >>= callHLink "mount"
checking for folders is necessary to avoid deleting things unintentionally, but if a symlink is in the way of a mount then logically it should be replaced, and this isn't causing an actual deletion anyway so this is in fact fine.
Not very clear nor well structured. Contains future features, current features, and an explanation of the CompressPaths
tool, in a section named after a file format.
e.g. program files (x86)
becomes %programfiles% (x86)
becomes program files\ (x86)
currently the aliases are phony so they get relinked every time you make all
Ideally by reading the last character to see if it is a newline, but just making .links always end in \n would work
Use equalFilePath
so that path compression works as expected on Windows
The idea of hLink is to turn long repetitive move/link tasks into a simple configuration of an .hLink file, and on new computers many empty intermediate directories won't exist. Obviously they should be created automatically.
e.g. ./source/ -> dest/
make join
start handling relative sources, (implemented)
add version of mark
that simply adds "\n."
or "." :->: "."
change mount
to handle relative sources, or maybe a third kind of link is needed?
I've re-implemented functions that already exist, for finding the path index
having a path of "" && " is currently a rather large issue :P
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.