Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    File::Trash::FreeDesktop 0.11

    Download button

    No screenshots available
    Downloads: 114  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Steven Haryanto | More programs
    Perl Artistic License / FREE
    September 23rd, 2012, 03:21 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    File::Trash::FreeDesktop description

    Trash files

    File::Trash::FreeDesktop is a Perl module that lets you trash/erase/restore files, also list the contents of trash directories. This module follows the freedesktop.org trash specification [1], with some notes/caveats:

    - For home trash, $HOME/.local/share/Trash is used instead of $HOME/.Trash

     This is what KDE and GNOME use these days.

    - Symlinks are currently not checked

     The spec requires implementation to check whether trash directory is a symlink, and refuse to use it in that case. This module currently does not do said checking.

    - Currently cross-device copying is not implemented/done
    - Currently meant to be used by normal users, not administrators

     This means, among others, this module only creates $topdir/.Trash-$uid instead of $topdir/.Trash. And there are less paranoid checks being done.

    SYNOPSIS

     use File::Trash::FreeDesktop;

     my $trash = File::Trash::FreeDesktop->new;



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    trash files | Perl module | Perl | trash | files

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM