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: 2 months 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 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T22:25:01.000Z (over 6 years ago)
- Last Synced: 2024-09-23T04:18:46.801Z (9 months 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 | abspathInstallation
------------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 installLicense
-------3-clause BSD.