Skip to content

Commit 4751762

Browse files
committed
Release 2.0.0
1 parent 78b3e35 commit 4751762

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# About
22

3-
This extension provides an easy way to remove unused files in the TYPO3 FAL.
3+
German:
4+
5+
Die TYPO3 Extension “FAL File Cleanup” bietet eine einfache Möglichkeit, unbenutzte Dateien im TYPO3 System zu identifizieren und automatisch aufzuräumen.
6+
Ein TYPO3 Scheduler Task führt dabei regelmäßig Prüfungen im System durch, und gleich die verlinkten Dateien (Dateireferenzen) mit den vorhandenen Dateien im Fileadmin von TYPO3 ab. Auf Wunsch können diese regelmäßigen Prüfungen auch auf bestimmte Datei-Endungen beschränkt werden.
7+
Sind Dateien identifiziert, welche keine Verlinkung in Inhalten des TYPO3 System besitzen, können diese wahlweise direkt gelöscht, zuerst in einen Papierkorb verschoben und nach definierbaren Intervallen (z.B. nach 30 Tagen) verspätet gelöscht werden.
8+
9+
---
10+
English:
11+
12+
The TYPO3 extension "FAL File Cleanup" offers an easy way to identify and automatically clean up unused files in the TYPO3 system.
13+
A TYPO3 scheduler task carries out regular checks in the system and compares the linked files (file references) with the existing files in the TYPO3 file admin. If desired, these regular checks can also be limited to certain file endings.
14+
If files are identified which do not have a link in the TYPO3 system content, they can be deleted directly, moved to a recycle bin first and deleted after definable intervals (e.g. after 30 days).
415

516

617
# How to use
@@ -12,11 +23,11 @@ Also, the symfony commands ``wv_file_cleanup:cleanup`` and
1223

1324
Example of using the command controllers::
1425

15-
./typo3/sysext/core/bin/typo3 wv_file_cleanup:cleanup 1:/ --verbose
16-
./typo3/sysext/core/bin/typo3 wv_file_cleanup:emptyrecycler 1:/ --verbose
26+
./typo3/sysext/core/bin/typo3 wv_file_cleanup:cleanup 1:/ -r --verbose
27+
./typo3/sysext/core/bin/typo3 wv_file_cleanup:emptyrecycler 1:/ -a 1month --verbose
1728

1829
It is recommended to use the commands in a CLI context, but they can also be
19-
setup in the _scheduler_ as scheduler tasks.
30+
setup in the _scheduler_ as scheduler tasks.
2031

2132
## Options
2233

@@ -34,6 +45,6 @@ The value can also be overwritten in the command controller (and scheduler task)
3445

3546
To only match `*.pdf` files you can set the fileNameDenyPattern to ``/^(?!.*\b.pdf\b)/``
3647

37-
Can be tested by executing this from CLI:
48+
Can be tested by executing this from CLI:
3849

3950
./typo3/sysext/core/bin/typo3 wv_file_cleanup:cleanup 1:/ --verbose --dry-run --file-deny-pattern='/^(?!.*\b.pdf\b)/'

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'title' => 'FAL File cleanup',
55
'description' => 'Enables cleanup of unused fal records.',
66
'category' => 'misc',
7-
'version' => '1.2.0',
7+
'version' => '2.0.0',
88
'state' => 'stable',
99
'author' => 'Frans Saris',
1010
'author_email' => 'frans@beech.it, ricky@web-vision.de, riad@web-vision.de',

0 commit comments

Comments
 (0)