Questions tagged [recycle-bin]

In computing, the trash (also known as the recycle bin) is temporary storage for files that have been deleted in a file manager by the user, but not yet permanently erased from the physical media.

In computing, the trash (also known as the recycle bin) is temporary storage for files that have been deleted in a file manager by the user, but not yet permanently erased from the physical media.

Recycle bin functionality is usually integrated into a desktop environment and its file manager. Examples include:

  • Mac OS and Mac OS X, with Macintosh Finder, as Trash (or Wastebasket in defunct localizations)
  • Microsoft Windows, with Windows Explorer
  • GNOME (Linux), with Nautilus
  • KDE (Linux), with Konqueror and Dolphin
  • Xfce (Linux), with Thunar
  • Amiga, when using the WorkBench. The Professional File System added trashcan-esque behavior at the filesystem level.
  • Windows Live, with Skydrive

Resources

Chat Room

Chat about recycle-bin with other Stack Overflow users

236 questions
1
vote
0 answers

gvfs-trash:how can I empty the "Trashcan" when I turn on the computer?

For the reason of security,I use gvfs-trash to delete file or directory.gvfs-trash sends files or directories to the "Trashcan",I want to empty the "Trashcan" when I turn on the computer,so I add "gvfs-trash --empty" in the file /etc/rc.local,…
Ren
  • 2,852
  • 2
  • 23
  • 45
1
vote
1 answer

Unable to migrate mails to "Trash"

I am migrating some mails to 'TRASH' in Google Apps. Using Google API Ver 2: Code Sample : MailItemEntry[] entries = new MailItemEntry[1]; entries[0] = new MailItemEntry(); entries[0].Rfc822Msg = new…
Preeti
  • 1,386
  • 8
  • 57
  • 112
1
vote
3 answers

How to restore file from the Recycle Bin to a specific location?

My goal is to restore a specific file from the Recycle Bin to a specified location, i.e. not into its original location. I found this article and also this one that explain how to enumerate files currently in the Recycle Bin. But it doesn't show how…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
1
vote
1 answer

How to set the filter for wordpress xmlrpc wp.getPosts while using node.js? (NOT PHP)

I was wondering how to set the filter option for wp.getPosts. I want to get posts with a status of 'trash'. is currently blank, and returns all posts other than trash. I am using the xml-rpc wordpress api. Here is my current…
kkimble006
  • 137
  • 1
  • 6
1
vote
2 answers

Cocoa: how to Write file inside package contents of app

When we try to delete/uninstall Cocoa .app file ,we directly move the .app file to trash. This does not ensure the deletion of app user data folder in application support. The user data lies there hanging. So i wanted to save the user data/ files…
Satyam Raikar
  • 465
  • 6
  • 20
1
vote
0 answers

How to tell if file or folder could be placed into the Recycle Bin?

Say, I have the "K:\test del USB" folder. Then I do the following: SHFILEOPSTRUCT sfo = {0}; sfo.wFunc = FO_DELETE; sfo.pFrom = L"K:\\test del USB\0"; sfo.fFlags = FOF_ALLOWUNDO | FOF_SILENT | /*FOF_NOCONFIRMATION |*/ FOF_NOERRORUI |…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
1
vote
3 answers

Applescript Purge Email Older than 2 Days

I am new to Applescript. I have one specific email account that exists solely for the purpose receiving error reports with an attached image. The mailbox can fill up quickly. I'd like to be able to run a script that will delete mail older than two…
Peter M
  • 65
  • 8
1
vote
2 answers

falls after input

What have I done wrong here? It falls after I input count and then my array It must be something with memory allocation, but i tried many things and none of them helped. thanks for responding struct _arr { size_t count; int* arr; }; typedef…
user3000073
1
vote
2 answers

Moving to recycle bin from elevated process

I am using SHFileOperationW function with FO_DELETE parameter to move a file to recycle bin (if recycle bin is not disabled). The problem is when I log as non-admin user and run my application as admin. The files are moved to admin's recycle bin. Is…
user2614370
1
vote
0 answers

Get notification of a file that is being deleted from SD card in Android

I am using FileObserver to get notification for deleted file.I want to save all deleted file from sd card(like Dumpster app) before deletion. But I get notification after the file has deleted but i want just before deletion so that I can save this…
Atul Bhardwaj
  • 6,647
  • 5
  • 45
  • 63
1
vote
3 answers

Displaying a Random Value

I am trying to run a simple code, in which the first few lines are **System.out.println("Enter the number of nodes\n"); BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in)); int n = bufferRead.read(); …
Ellipsis
  • 19
  • 1
  • 1
  • 6
1
vote
1 answer

Retrieve Recycle Bin Size using c#

I want to retrieve the Size of the Recycle Bin using c# windows application I tried it with shell32.dll but it raises an exception So any alternate or solution using shell32.dll will we acceptable
Pratik Sawant
  • 71
  • 1
  • 2
1
vote
1 answer

How can I get a list of recycle bin?

I have some deleted files and folders in recycle bin. When I restore an item I need restore some other items according to my special algorithm. So, I use the following code snippet in Event Receiver to get items of recycle bin : var…
andDaviD
  • 555
  • 1
  • 11
  • 26
0
votes
1 answer

Oracle, describe users recyclebin, SQLPLUS

I have a problem. When I am using comand as a user in SQLPLUS select * from recyclebin; everything working, I getting the object_name. But how to post query when I am logged as sys dba and would like to know user object_name in recyclebin.…
ssuperczynski
  • 3,190
  • 3
  • 44
  • 61
0
votes
0 answers

How to remove Mimikatz from recycling bin?

My bitdefender keeps alerting me about Mimikatz in the recycling bin. I cannot remove it. Recycling bin is empty. $Recycling.Bin is empty but rd /r /q c:$Recycle.Bin says access denied.