Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (32) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2014-01-10 (2 years ago) | Not enough user ratings | Total: 363 | All time: 6,498 This week: 1,109 |
Version | License | PHP version | Categories | |||
file-renamer 1.3.0 | BSD License | 5.3.0 | PHP 5, Files and Folders |
Description | Author | |
This package can rename files in directory using several strategies. |
FileRenamer =========== Introduction ------------ Console application for Renaming Files in the directory and subdirectories. FileRenamer is: * worked with different rename strategies e.g. microtime, transliteration to Latin of Ukrainian, Russian, Hungarian, Portuguese, German etc. * provided ability registry new strategies * created process report in .csv format * implemented safety algorithm without removing source files. New directory with renamed files will be created. * followed architecture Patterns * based on PHP 5.3 Area of usage ------------- Renaming files in the directory with custom algorithm without deleting original data were renaming report is essential. Examples -------- 1. For renaming files in the examples directory please run console command: ``` php frcon.php -s tests/data/RenameMe -r mtime ``` 2. To see all registered strategies please run: ``` php frcon.php -l ``` 3. Help can be found by using such command: ``` php frcon.php -h ``` |
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
configs (1 file) | ||||
docs (1 directory) | ||||
src (1 file, 1 directory) | ||||
tests (2 files, 2 directories) | ||||
CHANGELOG.md | Doc. | Updated release history.Renamed to upperCase. | ||
frcon.php | Appl. | Class source | ||
LICENSE.txt | Doc. | Renamed to upperCase. | ||
README.md | Doc. | Renamed to upperCase. |
Files | / | docs | / | uml |
File | Role | Description |
---|---|---|
class.diagram.png | Data | Auxiliary data |
class.diagram.xmi | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
FileRenamer (3 files, 2 directories) | ||||
Autoload.php | Class | New autoload due change script location. |
Files | / | src | / | FileRenamer |
File | Role | Description | ||
---|---|---|---|---|
Report (2 files) | ||||
Strategy (5 files, 1 directory) | ||||
Console.php | Class | Only script location was changed. | ||
Core.php | Class | Only script location was changed. | ||
GeneralException.php | Class | Only script location was changed. |
Files | / | src | / | FileRenamer | / | Report |
File | Role | Description |
---|---|---|
Csv.php | Class | Only script location was changed. |
ReportInterface.php | Class | Only script location was changed. |
Files | / | src | / | FileRenamer | / | Strategy |
File | Role | Description | ||
---|---|---|---|---|
Translit (6 files) | ||||
AbstractStrategy.php | Class | Only script location was changed. | ||
Hash.php | Class | Only script location was changed. | ||
Microtime.php | Class | Only script location was changed. | ||
StrategyInterface.php | Class | Only script location was changed. | ||
StrReplace.php | Class | Only script location was changed. |
Files | / | src | / | FileRenamer | / | Strategy | / | Translit |
File | Role | Description |
---|---|---|
General.php | Class | Only script location was changed. |
German.php | Class | Only script location was changed. |
Hungarian.php | Class | Only script location was changed. |
Portuguese.php | Class | Only script location was changed. |
Russian.php | Class | Only script location was changed. |
Ukrainian.php | Class | Only script location was changed. |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
data (1 directory) | ||||
src (1 directory) | ||||
bootstrap.php | Class | UnitTest related. | ||
phpunit.xml | Data | UnitTest related. |
Files | / | tests | / | data | / | RenameMe | / | Folder1 | / | Folder12 |
File | Role | Description |
---|---|---|
test12.txt | Data | Data for unitTests |
Files | / | tests | / | src | / | FileRenamer |
File | Role | Description |
---|---|---|
BaseTest.php | Test | Only script location was changed. |
CoreTest.php | Test | Only script location was changed. |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
94% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.