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
1 answer

How to recover items moved to trash in Godot and where to find the recycling bin?

So earlier on I was attempting to code basic scripts on Godot and I may have deleted a Button.gd source code, so far the output is perfectly fine but the debugger displays an error even after making a new scene entirely. I'd like to try and recover…
Sammy
  • 23
  • 4
1
vote
2 answers

Vista Recycle Bin Maximum Size

Does anyone know how to set the Maximum Size of the Recycle Bin via script? Whether its written in batch or vbs or just a reg file? I've been exploring this idea for the last few days, and can't get an answer. Maybe someone here knows how. I'm…
Methical
1
vote
0 answers

Get memory size and object count of Recycle Bin

I'm using Borland C++Builder 6 Enterprise on Windows 10. I have the following code to extract the memory size and object count of the Recycle Bin: ... #include "shellapi.h" ... void __fastcall TForm6::Button10Click(TObject *Sender) { SHQUERYRBINFO…
Egon
  • 11
  • 2
1
vote
2 answers

How can i add a cron job run every minute to my elearning site on moodle?

I try to add a cron job on an elearning.mysite.gr(Moodle). Although my host gives this message every hour. Oct 2 1:10:01 linux CROND[123456]: (admin) CMD (touch /tmp/test.txt > /dev/null) On my site administration -> notifications get this…
Tom Pit
  • 7
  • 1
  • 5
1
vote
3 answers

Delete Sharepoint files using Python

I want to delete files in Sharepoint 2016 from its recycle bin. I am able to delete files from my folder using requests.delete. However, not able to do the same from recycle bin. Can we achieve that?
1
vote
1 answer

How to move/restore file/dir to trash in linux using C?

How to move file/dir to trash and restore them to original location afterwards?. Most answers on stackoverflow are for Windows or Mac OS. And some suggest to implement using linux commands. Is there any C api that can perform this actions?
1
vote
1 answer

How to implement delete animation like iPhone's photo app

I have a button of UIBarButtonSystemItemTrash on my Navigation Bar, I want to implement a animation when I clicked that button, with trash open and view flies into the trash. Just like iPhone's Photo or Mail app. I realize there's such a question…
Zhao Xiang
  • 1,625
  • 2
  • 23
  • 40
1
vote
1 answer

Check if Recycle Bin is corrupted with PowerShell

On Windows, if the Recycle Bin is corrupted, a prompt similar to the image below is shown in the Windows GUI: I'd like to automate a check for this using PowerShell. How can I check if the recycle bin under a mountpoint (whether it's a directory…
codewario
  • 19,553
  • 20
  • 90
  • 159
1
vote
0 answers

Problem with google calendar API (deleted items)

I have an issue with the Google Calendar API that is not working properly. Normally we import the calendar items from ...@ps-calendar.iam.gserviceaccount.com ... when they create this calendar entry we get this item in the google trash. When I…
1
vote
1 answer

copying files from recycle bin

Here (Listing files in recycle bin) I've found a @Smile4ever post saying how to get the original location for the files in recycle bin: (New-Object -ComObject Shell.Application).NameSpace(0x0a).Items() |select…
solquest
  • 65
  • 10
1
vote
1 answer

undelete Gmail e-mails by when they were deleted and/or sort trash by when an email was deleted

One of the most annoying things with Gmail is that you can't sort the trash by when an e-mail was deleted. So if you accidentally delete an e-mail, miss the undo window, and you don't remember which e-mail, the only way to find the e-mail is go…
IMTheNachoMan
  • 5,343
  • 5
  • 40
  • 89
1
vote
0 answers

Delete emails from a label after certain number of days

I am a true novice at this. Needed a solution to clean up my gmail. After searching found the script below. I created filters that send emails to the "delete me" label. I added the script to my projects and published giving it access to my gmail. I…
1
vote
1 answer

KIO Trash drive specific trash folder

I'm using KIO to implement trash functionality. The problem is that the files are all put into a single trash that's on a local drive. The problem with this approach is that deleting files on network drives takes too much time due to network delays.…
fonZ
  • 2,428
  • 4
  • 21
  • 40
1
vote
1 answer

Send folder to Linux rubbish bin in C#

I use the FileOperationAPIWrapper that can be found here to move files to the recycle bin on Windows with great success. I'm looking for how to do the same on Linux in C#. Perhaps the Linux trash is a static folder that I can simply move folders to?
Kyle Postlewait
  • 123
  • 1
  • 12
1
vote
2 answers

GMail API call to trash returns "Invalid id value"

Newb here trying to trash an email from inbox with GMail Python API. Here is what I have: 24 try: 25 service.users().messages().trash(userId='me',…
Ubaidul Khan
  • 131
  • 3
  • 13