# Sls -- Sy's ls

**URL:** <https://www.ruby-forum.com/t/sls-sys-ls/95076>\
**Category:** Ruby\
**Created:** [May 21, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/sls-sys-ls/95076 "2006-05-21T19:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sy\_Ali](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@Sy\_Ali](https://www.ruby-forum.com/u/Sy_Ali)\
**Post date:** [May 21, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/sls-sys-ls/95076/1 "2006-05-21T19:18:58Z")

</div>

What it is

sls is a simple Ruby script which is all about associating a  
description with a file. The main “sls” shows descriptions alongside a  
listing of filenames. The companion scripts are for working with  
descriptions or files and descriptions.

sls allows a description to be associated ith a filename, so that a  
directory listing will also come up with the file descriptions  
alongside each filename.

Why it exists

I fell in love with 4DOS’ use of “descript.ion” files, and the ability  
to pull up a directory listing with a note next to each file.  
Migrating to Linux was a nightmare because of the huge array of  
case-insensitive and utterly disorganized files.

- I can’t remember what one file in n-1 files is. I certainly haven’t  
a clue 10 years later. Ditto for directories.
- I was sick of putting my thumb up against the screen to count blocks  
of three numbers in a file’s size.

Since 4DOS will never be ported to Linux (or even supported in DOS), I  
had to do it all myself.

> **[Register4Less.com Parking Page for jrandomhacker.info](http://www.jrandomhacker.info/sls)**
>
> Parking page for domain jrandomhacker.info registered with Register4Less.com.

[http://rubyforge.org/projects/sls/](http://rubyforge.org/projects/sls/)

download:  
[http://rubyforge.org/frs/download.php/10610/sls-0.8.tar.gz](http://rubyforge.org/frs/download.php/10610/sls-0.8.tar.gz)

repository:  
[http://rubyforge.org/plugins/scmsvn/viewcvs.php/?root=sls](http://rubyforge.org/plugins/scmsvn/viewcvs.php/?root=sls)

* * *

I’m new, so bits of advice are welcomed. Some of my solutions are a  
bit hackish, and I have had some strange issues with some things. It  
all “works for me” though. =)
