Quiq::Trash - Operationen auf dem Trash von XFCE
Quiq::Hash
$t = $class->new; $t = $class->new($trashDir);
Pfad zum Trash.
Objekt
Instantiiere ein Objekt der Klasse und liefere dieses zurück. Weicht der Trash-Pfad vom Standard-Pfad ab, kann dieser als Parameter gesetzt werden.
$t->emptyTrash; $t->emptyTrash($ask);
Stelle Rückfrage an den Benutzer, wenn der Trash nicht leer ist.
Leere den Trash, d.h. lösche alle Dateien aus $trashDir/files und $trashDir/info.
$trashDir/files
$trashDir/info
@files | $fileA = $t->files;
Liste von Dateien. Im Skalarkontext eine Referenz auf die Liste.
Liefere die Liste aller im Trash enthaltene Dateien.
1.195
Frank Seitz, http://fseitz.de/
Copyright (C) 2021 Frank Seitz
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Quiq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quiq
CPAN shell
perl -MCPAN -e shell install Quiq
For more information on module installation, please visit the detailed CPAN module installation guide.