Ubuntu :: How To Immediately Delete Files, Bypassing Trash

Jun 3, 2011

I am looking for a way to permanently delete files immediately - no trash, no taking up space but a command to make a file immediately gone. I have a USB flash drive and it has a hidden .trash file on it that builds-up until I have no more room on the flash drive - all space taken up by deleted files. I need a command that bypasses the trash and immediately deletes a file for good making space available.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Can Delete These 'un-delete-able' Files In Trash?

Nov 1, 2010

I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.

View 3 Replies View Related

OpenSUSE :: Trash - Can't Delete Any Files Bigger Than 4 Go

Jan 3, 2011

I can't delete any files bigger than 4 Go. I got a message telling me that my trash is full and I should empty it. But there is nothing in it. Is there any thing I can do to be able to delete files over 4 Go?

View 5 Replies View Related

SUSE :: Secure Delete Of Trash Files?

Mar 19, 2010

i have an issue due to some high security requirements. what i want to do is to remove the files in trash folder permanently from the memory so that they cannot be recovered again. am aware of the "shred" command but i dont know if it can reach to files that are already in trash.I have found a solution but it requires to fill the whole unused memory with a file that consist of some ramdom bits and than deletes it:

dd if=/dev/zero of=zero.small.file bs=1024 count=102400
shred -z zero.small.file
cat /dev/zero > zero.file

[code]...

View 6 Replies View Related

Ubuntu Security :: TRASH Causes Crashes, REFUSES To Delete Files?

Dec 16, 2010

I hope that I'm posting this thread in the right place. This involves a very unique problem which has caused the .Trash-1000 folder for my external USB drive to become corrupted, to the point of causing massive heat problems which then causes my system to crash, i.e. become completely inoperable, forcing me to do a hard reset.

The scenario: Recently I went through all of my backup data which is what I use that external USB drive for. After finding several GB of data files, some dating back 2 - 3 years from a root server that I used to have, I went ahead and tried to delete all of those files. Well, with exception to 3 folders, containing no more than perhaps 35 files which totalled less than 8 MB in space, everything was deleted properly without a hitch. The files that couldn't be deleted prompted some strange "couldn't delete blahblahblah file due to input/output error" message. One message for each file that couldn't be deleted.

Now mind you, I can open these files, look at them, rename them, copy them, but I cannot delete them. Still being pretty wet as far as Linux is concerned, I tried numerous suggestions that I could find on the internet, all of which had to do with file permissions in one form or another. I've tried everything that made any sense and still can't delete those files.

All of the data is my own, all of the hardware is mine, and I'm the only one using this machine. I'm not attempting to do anything illegal. Then I figured, smart as I am, why don't I just assign ownership of the .Trash folder to myself via the chown -R command, followed by deleting the files afterwards. Okay, the chown command gave me no error, I assumed all was well since it's my USB drive to begin with and since it automounts during every restart anyway. I just figured that this would be something to try. BIG MISTAKE !!!

My system runs just as perfectly as before, with but one exception. NOW, when I attempt to delete those files that I couldn't delete before, I don't get an error message anymore but the CPU starts hyperventilating during the deletion process which goes on endlessly (remember, we're taking about less than 8 MB of data) ... ultimately causing the system to crash, i.e. become totally unresponsive. NOW, if I delete additional files from that USB drive and then attempt to empty the trash, the newly deleted files take substantially longer too now. Not as long as the original "bad files" but still quite long. The drive itself checks out fine and it's not a dual-boot system with Windows. Just did a virus check recently too and everything checks out in that regard as well.

Can someone tell me how to reassign whatever original values there were for that external drive .Trash folder? I think if I could restore those values to whatever they used to be before I used the chown -R command, perhaps then everything would be fine again as far as the crashing is concerned. HELP ....
(Please take a look at the screenshots too)

The last screenshots shows "preparing to delete" which takes a very long time. Then it takes anywhere from 15 to 45 seconds PER FILE before that miniscule file is actually supposedly deleted. Eventually, after a few files are deleted, the system crashes. I wrote "supposedly deleted" because after a reboot the files are still there .

View 9 Replies View Related

Ubuntu :: Can't Move Files In Host To Trash - Prompted To Delete Permanently

Jul 23, 2011

ubuntu 11.04
ubuntu classic
wubi

When I try to delete a file in the host directory (and sub-directories), I see the prompt, 'Cannot move file to trash, do you want to delete immediately?'

I googled this issue and see some solutions that require editing fstab, but not sure if that's the right approach in wubi, and not so sure what edits I would make in fstab anyway.

View 3 Replies View Related

Ubuntu :: Delete Files In Trash That Is Older Than 10 Days With A Terminal Command?

Sep 27, 2010

Can I delete files in trash that is older than 10 days with a terminal command?

View 3 Replies View Related

Fedora :: GThumb Image Viewer Delete - Files Moved To Trash

Mar 4, 2010

When I am deleting pictures using gThumb image viewer it asks "The selected images will be moved to Trash, are you sure?" And if I press "yes" button - it moves message to ~/.Trash, can it be configured to move them into "real" trash? I have created symbolic link and it solved part of my problems, but files "restore" option is unavailable to files which were moved in to trash by this method.

View 3 Replies View Related

Ubuntu :: Fstab Configuration - Cannot Move To Trash - Only Permanently Delete Files From The Windows Partition

Jan 16, 2011

I edited fstab so that my Windows disk partition will be automatically mounted when I log on. However, when I delete a file from said partition, I am told that the item(s) cannot be moved to trash - I can only permanently delete files from the Windows partition. Here is how I configured in fstab: Code: /dev/sda1 /media/Vista ntfs nls=iso8859-1,umask=000 0 0 I suspect I mis-configured the options. Can anyone see an issue?

View 1 Replies View Related

Ubuntu :: Moving To Trash Deletes Immediately?

Sep 15, 2010

Under 8.04 lts moving a file to Trash under Gnome/Nautilus resulted in the file being moved to the Trash directory, from where I could then delete it. It was an extra layer of protection against mistakes.

Now when I right click on a file and choose move to Trash, it deletes immediately without the protection.

I see no way to turn it back on. Is this a change in the way Nautilus is meant to work, or is there a switch someplace to put it back?

View 4 Replies View Related

Ubuntu :: Change Delete Button To Delete Instead Of Move To Trash

Apr 18, 2010

Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.

View 7 Replies View Related

OpenSUSE :: Delete Files On Data Partition Slow Because Trash Is Located On Home Partition?

Aug 18, 2011

KDE 4.6 - opensuse 11.4.

I have a separate ext4 partition which contains all my data (music, movies, etc). When I delete files from this partition it is very slow because it copies files from my data partition to the Trash folder in my home partition. How can I avoid this? Can't the trash be configured so that it uses a trash folder in each partition instead of copying files to another partition (which is slow).

View 9 Replies View Related

Ubuntu :: Trash Will Not Delete?

Sep 21, 2010

I recently tried to delete some files off of my USB drive and it was being glitchy and really slow so I pulled the drive out and put it back in so it would read normally again. I now have an "untitled folder" in my trash that can't be deleted, and the error says "no such file or directory". Unlike a lot of the other problems I've read with not being able to delete the trash files, I don't think this is a permissions problem.

I probably made a stupid mistake and went into the .Trash-1000 folder for the USB drive itself and tried to delete the files, but each time I did that it just duplicated the original folder and renamed it, and now I can't delete those files either!

View 4 Replies View Related

Ubuntu :: Files In Trash But Not In Trash?

Dec 24, 2010

I have a problem with a couple of folders in the Trash. If I click on the Trash icon, 2 foldersare there, and when I try to delete them, it just says "Failed to delete the item from the trash"

But when I go to .local/share/Trash there are no files there! Anyway, I tried using the command "sudo rm -rf .local/share/Trash", it shows no error, but the files continue when I click in the trash icon.

View 9 Replies View Related

Ubuntu :: Right Click Delete Or Move To Trash Not Available?

Nov 24, 2010

I have a few folders I need to remove and when I right click delete or move to trash not available. I guess I don't have permission. I am the sole user of this machine and the Admin. How do I remove these folders. The folders were part of ClamAV which has been removed. They show up as a virus in my Avast Anti Virus.

View 3 Replies View Related

Ubuntu :: Cannot Delete Or Empty .Trash-1000 Folder?

May 5, 2010

Straight to the problem on my [Ubuntu 9.10].I cannot delete or empty my .Trash-1000 folder on my flash drive. I tried changing permission with chmod but no way, I cannot empty the folder via the Ubuntu main trash option 'Empty Trash'. I read a bunch of threads but no way.Do you know a solution that works to this problem?Even further. Do you know a way to tell nautilus to avoid using that folder in my USB devices and use instead the normal trash folder on my system?

View 5 Replies View Related

Red Hat / Fedora :: Delete Trash From Mounted Drive?

Aug 24, 2010

I have deleted alot from it (moved to trash) but I have not reclaimed the space that the items occupied.how can i delete the trash / recycled items off the drive

View 4 Replies View Related

Hardware :: Delete Trash Content From USB Memory?

Jun 4, 2010

I run Gnome under Debian 5.04 and when I right click on directories on hard disks, I am given an opportunity to delete them or when I right click on Trash, I am given an opportunity to empty it, however this is not the case when I try the same on the files contained in the USB stick and the only option I have is to empty all directories and sub directories before removing them which is far too slow.

View 3 Replies View Related

Ubuntu :: Unable To Delete Simple Backup Folder From Trash

Jul 17, 2010

I'm a beginner at backing up my Ubuntu system, but I've set Simple Backup to do a backup once a week. I deleted the oldest of these files, but now it's sitting in my Trash and I can't empty it. I get a permission denied error for the folders within the backup folder in the trash, yet I can't restore the folder either - Ubuntu says it 'failed to determine the original path' for the folder. I've just discovered this in Xubuntu Jaunty, but I'm confident the same will happen in any other WM I choose (I have several installed - I like variety ).

It's not a huge file, but it's hanging out there and I'd like to get it either deleted or restored. Possibly I oughtn't to have deleted it in the first place (it usually lives in /var/backup, which I can't access except as root). The files, which I probably deleted /as/ root, show up in my user trash rather than root's trash. I found the trash in ~/.local/share/Trash/files, but I'm not sure if just deleting them as root would be a good.

View 1 Replies View Related

Ubuntu :: Is It Safe To Delete Trash-1000 Folder On FAT Pen Drive?

Mar 12, 2011

I formatted an old pen drive and noticed that when I deleted files, the free space was not going down. Then I hit Ctrl+h and saw a folder named .Trash-1000. Is this only needed if someone if using Windows or can it be safely deleted?

View 4 Replies View Related

Ubuntu :: User (vs. Root) Cannot Move To Trash, Only Delete, On Ext3 Partition?

Jan 9, 2010

I just wanted to post this in case it helps anyone else. I have all my personal files (photos, documents, etc.) saved on a separate ext3 partition (so I don't have to worry about them on new installs, etc.). When I tried to delete files, however, I always received the message: "Cannot move file to trash, do you want to delete immediately?".

After much searching and failed fix attempts (mostly unnecessary messing with fstab), I found this post, which is now archived (or I would have replied there):ttp://ubuntuforums.org/showthread.php?t=759544. And frediE's solution, with a couple tiny modifications, finally solved the problem! (So huge thanks to frediE! ). irst, I found my user id, which is 1000, by going to the System > Administration > Users and Groups menu, selecting my user name (e.g. jnewm), clicking "Properties", andselecting "Advanced".

Second, I created a folder on the root of my partition called ".Trash-1000". (I may have needed to use "gksu nautilus" from a terminal to create the folder, I don't recall.)Third and last, I navigated to the root of the partition in my terminal and ran: sudo chown -R jnewm:jnewm .Trash-1000. Followed by: sudo chmod -R jnewm .Trash-1000 (I doubt this second step was necessary, but I'm listing it just in case). (confirmed unnecessary)

View 4 Replies View Related

Ubuntu :: When Delete Simple Text File / Trash Icon Not Change

Mar 6, 2011

I have installed KDE 4.6.1, on distribution Ubuntu 10.10 . But i have problem with trash icon. Even when i delete a simple text file, trash icon not change, shows empty icon. When I open trash directory location from dolphin, left side shortcuts, it shows empty directory.Is it a bug? Where is my deleted file gone?

View 4 Replies View Related

Ubuntu :: After Files Deleted Still Shows Up As Full - Shown In Hidden Trash Files

Mar 9, 2011

I have a Kingston 8gb Datatraveler that has been giving me troubles lately. For some reason after I delete files from it it still shows up as full and the files are shown in the hidden trash files. How do I get rid of these files? I can't delete them as they just show back up. Also, I tried to format the drive with gparted and it won't unmount. When I right click and select information, at the bottom it says: Unable to find mount point. Unable to read the contents of the file system. Because of this, some operations may be unavailable.

View 1 Replies View Related

Ubuntu :: Rsync --delete Doesn't Delete Superflous Files

Sep 25, 2010

I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:

Quote:

rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back

The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.

(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)

View 2 Replies View Related

Ubuntu :: Re-map The Delete Key To Something Other Than "move To Trash"?

Jul 28, 2010

it seems that even after several years of bouncing around the idea on the forums and in the idea bin, etc., Ubuntu still has no "confirm move to trash" feature. The problem is, I have cats who love my keyboard, and they sometimes press the "delete" key, moving my files to trash behind my back. It's not a sufficient precaution just to review my trash before emptying it (for various complicated reasons with which I shall not bore you), nor would it be practical even if it were sufficient. So the obvious alternative is this: disable the "move to trash" function of the "delete" key!So, is there any way to do that? Perhaps re-map the delete key to a different function? I'm not an ubuntu expert, but if it will solve my problem then I'm willing to put some time/energy into a technical solution. I just need a place to start!

View 2 Replies View Related

Ubuntu :: Files In Trash Need To Restore

Mar 22, 2011

I understand you can't restore files from the trash but when I right click on the trash at the top it says "restore files", however clicking on it does nothing. So I tried copying the files in the trash (160 MP3 albums)over to another folder and the only thing that transfers is each album folder without the contents. When i try to move the contents I get an error: items in the trash may not be modified. I can't move each folder individually either, same result. I am not modifying anything I am only moving it.

View 3 Replies View Related

Ubuntu :: Where Do Files In The Trash Exist On The Live CD

Sep 17, 2010

I recently have been trying out the Ubuntu live CD.

I have a shared computer where some are suspicious of anything other than Windows.
The live CD is an excellent way forward.

As I understand it Ubuntu is loaded into the computer RAM, thereby it makes no actual changes to the computer as it does not load into the hard drive.

I have noticed that if I have been doing work on the computer and forgotten to empty the trash, when I run the live CD on another occasion this material is still in the trash.

Is data put into the trash saved to the hard drive?

It does not matter to me if it is as long as I have deleted it but I would like to know where it goes if it does save to the hard drive.

I am running Windows 7 on a 64bit PC

View 3 Replies View Related

Ubuntu :: Can't Restore Important Files From The Trash

Jan 23, 2011

I have 5 folders in the virtual rubbish bin that can not be seen and restored but is crucial for me to recover them.

I was trying too record 5 folders with brasero and I sttoped the process, then all of a sudden the folders dissapeared and after I found then in the reclycling bin by -> right click/properties in this "basic" windows there It's said: content: 413 elements ... 663.1 MiB in total ... also the picture of the bin appears full, and when I put the pick ontop of it it says: 5 elements in the bin...

View 3 Replies View Related

Ubuntu :: Empty Files In Trash-1000 On USB Drive?

Feb 14, 2010

Apologies if this has been asked before, which I'm sure it has from what I see googling around, but I cant understand this fully.

I have a piles of files in the .Trash-1000 folder on my flash drive that I want to delete. I can see them if I go in as root using the command line and entering "gksu nautilus" but it still wont allow me to delete them.

View 9 Replies View Related

Ubuntu :: Trying To Updelete, Found Terabyte Files In Trash?

Apr 20, 2010

I cancelled a partition resize accidently and the restarted it and it went on it's merry way. after it had resize my 500G partition into a 100 and 400 I noticed that most of my files were gone. I have my Documents folder, but my Music, Kids TV shows, wallpapers, and Pictures are gone. I starting going thru url to try an fix this as well as trolling the forums. At the moment I have 1 program going thru the drive's image, and another going thru the actual drive. While still waiting for this I looked in the trash. lots of files, I attempted to copy them out. Apparently on my 500G drive I have 14Tb of files.After sudoing Trash I was able to get in and I see that there are some odd sized files. The largest of them are:

File name file size
#6463091 2.7Tb
#14114451 2.5Tb
#6461878 2.1Tb

And these are about the size of I had on there, the largest being more or less what I had before I moved off some data:
File name file size
#6461059 544G
#6462620 52G
#14106973 7.9G
#3467474 3.9G

Also using ddrescue I made and imagine file, sadly I can't mount it as an iso. when I try to mount it following the datarecovery guide it says no file system found. I have e2fsck going thru it atm.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved