Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sonots/symlinks
- Owner: sonots
- Created: 2012-05-29T14:09:29.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-29T14:40:44.000Z (over 12 years ago)
- Last Synced: 2024-10-13T08:08:39.452Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 86.9 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
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 installHow to use
----------::
ruby symlinks.rb TARGET_DIR SYMLINK_DIR
Oops, now this script makes hard links instead of symbolic links :-p