Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sonots/symlinks

This script makes symbolic links from files in a directory to files in a directory only if they are identical. This script would be useful to reduce storage size for daily generated documents.
https://github.com/sonots/symlinks

Last synced: about 2 months ago
JSON representation

This script makes symbolic links from files in a directory to files in a directory only if they are identical. This script would be useful to reduce storage size for daily generated documents.

Awesome Lists containing this project

README

        

Symlinks
==============

This script makes symbolic links from files in a directory to files in a directory only if they are identical.
This script would be useful to reduce storage size for daily generated documents.

Requirements
------------

- ruby

How to install
--------------

::

gem install bundler
bundle install

How to use
----------

::

ruby symlinks.rb TARGET_DIR SYMLINK_DIR

Oops, now this script makes hard links instead of symbolic links :-p