LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2007, 11:11 AM   #1
dmm1673
LQ Newbie
 
Registered: Nov 2006
Location: Chicago, IL
Distribution: Debian Sarge
Posts: 4

Rep: Reputation: 0
Question Create Trash folder for items deleted by users on server


I'm a little new at this, I'm running an Linux Debian Server with about 10 users connecting to it. All the users have their docs/files stored on the server. When they delete them, they are deleted from the server, is there a way to create a temporary trash file for recovery purposes?

Thanks,
Drew
 
Old 02-07-2007, 11:28 AM   #2
wahming
Member
 
Registered: Jan 2007
Posts: 133

Rep: Reputation: 15
Create your own rm script, and make sure it's the first to show up in the path variable. Let it move the deleted files to a folder which gets cleared at your discretion.
 
Old 02-07-2007, 11:42 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
dmm1673,
Welcome to LQ!
There's a SEARCH button at the top of this page. You'll find lots of threads on this subject if you search for "rm trash"
You might also want to take a look at libtrash here:

http://freshmeat.net/projects/libtrash/

You don't say what your distro is (Hint: You can edit your LQ profile), but it is probably available through your distro's package-manager.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while moving items to trash leupi Linux - General 1 01-20-2006 10:28 PM
perl script help required to create users and changing the owner to pericular folder sridhar11 Programming 2 10-25-2005 02:16 PM
deleted trash bin + desktop folder?? psa Linux - Newbie 3 01-26-2005 11:43 PM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 06:44 AM
Evolution - Removing trash from server when deleted locally njlarkin Linux - Software 0 10-19-2002 12:45 PM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration