Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgechato/scripts
useful scripts to make your life easier
https://github.com/jorgechato/scripts
Last synced: 27 days ago
JSON representation
useful scripts to make your life easier
- Host: GitHub
- URL: https://github.com/jorgechato/scripts
- Owner: jorgechato
- Created: 2016-03-30T18:14:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-02T08:18:13.000Z (over 8 years ago)
- Last Synced: 2024-11-07T10:45:48.656Z (3 months ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scripts
In this repo I'm going to add my personal scripts, the ones I build and I
use. At the end this are useful scripts to make your life easier.+ [number.py](https://github.com/orggue/Scripts#numberpy)
+ [name.py](https://github.com/orggue/Scripts#namepy)### Number.py
| arguments | description |
|:-:|:-:|
| | Add 0 into filenames, only files named with number |
| -r | Replace the current filename to a number |
| -rf | Replace the current folder name to a number |##### <>
| before | after |
|:-:|:-:|
| 1.jpg | 01.jpg |
| 15.jpg | 15.jpg |##### <-r>
| before | after |
|:-:|:-:|
| 1-test.jpg | 01.jpg |
| 15.jpg | 02.jpg |##### <-rf>
| before | after |
|:-:|:-:|
| /git-folder | /0 |
| /test-folder | /1 |### Name.py
| arguments | description |
|:-:|:-:|
| -b [old name] -a [new name] | Change part of the filename to another |
| -r [old name] | Delete part of the filename |##### <-r test>
| before | after |
|:-:|:-:|
| 1-test.jpg | 1-.jpg |
| test15.pdf | 15.pdf |##### <-b "hello world" -a github>
| before | after |
|:-:|:-:|
| test hello world.md | test github.md |
| hello world by jorge chato.mov | github by jorge chato.mov |