Information about the package, ptrash, which is shipped with common Linux distributions. The ptrash package is designed for, Move file(s) to ~/.trash directory.
Package Name:
ptrash
Summary:
Move file(s) to ~/.trash directory
Description:
Ptrash moves the named file(s) to the ~/.trash directory. Trash is located under the home directory of a user. It is a simple console based utility, I wrote after deleting some files, which I couldn't retrieve back. Ptrash can also restore file(s) back to there original location. It has really proved very handy to me.
Architecture:
x86_64
Version:
1.0
Release:
3.el6
Size:
22 k
Repository:
epel
From Repository:
Licence:
GPLv2+
Control the ptrash package with the following handy commands outlined below.
yum install ptrash
This command will install ptrash on the server.
yum remove ptrash
This command will un-install ptrash on the server. When you run this command, you will be asked if you are sure that you want to remove ptrash, so you have to manually confirm that you want to do this.
yum -y remove ptrash
This command will un-install ptrash on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ptrash when using the -y flag.
yum update ptrash
This command will update ptrash to the latest version. When you run this command, you will be asked if you are sure that you want to remove ptrash, so you have to manually confirm that you want to do this.
yum -y update ptrash
This command will update ptrash to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ptrash when using the -y flag.
yum info ptrash
This command will show you core information about the ptrash package.
yum deplist ptrash
This command will show you the dependencies for ptrash. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update ptrash
This command will check if there is an update waiting on ptrash. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.