An open API service indexing awesome lists of open source software.

https://github.com/lallethu/file-title-linter

This is a short PHP script made to help rename photos (any file tbh) so their URL counterparts do not have an ugly render.
https://github.com/lallethu/file-title-linter

file-management urls web

Last synced: about 1 year ago
JSON representation

This is a short PHP script made to help rename photos (any file tbh) so their URL counterparts do not have an ugly render.

Awesome Lists containing this project

README

          

# FTL: File Title Linter (PHP)

This script can be used to perform a modification on the files names in a folder.
To use this script, simply place it next to the folder that you want to use it on.
Then, run the script via CLI (from the same place your desired folder is) and you're done.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Complementary informations](#complementary-informations)

## Installation

To install this project, follow these steps:

1. Clone this repository: `git clone https://github.com/Lallethu/file-title-linter.git`
2. Open the folder that contains the desired folder: `cd your-parent-folder`
3. Verify that the script is in the same folder as the desired folder: `ls`

NB: Be sure to have PHP installed on your machine!

```bash
.../your-parent-folder
$ ls
file-title-linter.php target-folder/
```

## Usage

Here's how to use this project script:

1. Once in the rigth directory open a CLI and run: `php ./file-title-linter.php target-folder`
2. Enjoy the result.

## Complementary informations

- Author: [@Lallethu](https://www.github.com/Lallethu)
- Helper: [@Baptiste-R-epi](https://www.github.com/Baptiste-R-epi)
- Demo available: take a look at the demo folder!
- License: [MIT](LICENSE)
- Version: 1.0.0
- Creation date: 2023/10/21

## Errors issues and suggestions

If you find any issues, please contact me via the [issues](https://www.github.com/Lallethu/file-title-linter/issues) section of this repository.

Or if you have any suggestions, feel free to post them on the [pull requests](https://www.github.com/Lallethu/file-title-linter/pulls) section of this repository.