https://github.com/arne-cl/abspath
get the absolute paths of files on the command line
https://github.com/arne-cl/abspath
cli file-path path python
Last synced: about 1 year ago
JSON representation
get the absolute paths of files on the command line
- Host: GitHub
- URL: https://github.com/arne-cl/abspath
- Owner: arne-cl
- License: bsd-3-clause
- Created: 2014-08-20T20:55:54.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T22:25:01.000Z (over 7 years ago)
- Last Synced: 2024-09-23T04:18:46.801Z (almost 2 years ago)
- Topics: cli, file-path, path, python
- Language: Python
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
abspath
=======
.. image:: http://img.shields.io/pypi/dm/abspath.svg
:alt: PyPI download counter
:align: right
:target: https://pypi.python.org/pypi/abspath#downloads
.. image:: http://img.shields.io/pypi/v/abspath.svg
:alt: Latest version
:align: right
:target: https://pypi.python.org/pypi/abspath
.. image:: http://img.shields.io/badge/license-BSD-yellow.svg
:alt: BSD License
:align: right
:target: http://opensource.org/licenses/BSD-3-Clause
``abspath`` is a command line tool that prints the absolute paths of all given
files. File names can be piped via ``STDIN`` or given as arguments.
Usage
-----
::
abspath file1.txt path/to/file2.pdf
abspath Desktop/*
find . -name *.pdf | abspath
Installation
------------
Installation from PyPI
~~~~~~~~~~~~~~~~~~~~~~
::
sudo pip install abspath
Installation from the repository
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
git clone https://github.com/arne-cl/abspath.git
cd abspath
sudo python setup.py install
License
-------
3-clause BSD.