[ale] windoze scripts to linux scripts

James Sumners james.sumners at gmail.com
Fri May 27 13:50:30 EDT 2011


Here's a bash script you can use without having to install any extra
packages. Note that 1) it is slow and 2) you run it like so:
`listpath.sh .`

#!/bin/bash

IFS=$'\n'

for f in $(find ${1} -type f); do
    DIR=$(dirname $(readlink -f ${f}))
    NAME=$(basename ${f})

    echo "${DIR}/${NAME}"
done

On Fri, May 27, 2011 at 12:23 PM, Michael Trausch <mike at trausch.us> wrote:
> find . -print0 | xargs -0 realpath
>
> You might have to install the realpath package.


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59


More information about the Ale mailing list