Deleting is the act of removing a file.

learn more… | top users | synonyms

6
votes
2answers
58 views

How to delete folders that have n or fewer files in them?

I need to do some folder clean-up, and I'd like to remove directories that have 10 or fewer files in them. I tried looking at GNU's find, but there wasn't anything related to the number of files in a ...
15
votes
7answers
102k views

How do I remove my Ubuntu partition from Windows 7 and reuse the space?

I am dual-booting Windows 7 and Ubuntu, both installed on separate partitions. I don't need Ubuntu anymore. How can I remove the Ubuntu partition(s) and add the reclaimed space to my Windows 7 ...
4
votes
2answers
7k views

Delete all files whose filenames contain a particular string?

I changed my wordpress theme. The older one created so much images on server. My new theme doesnt need them, so I want to remove all. How can I do that? For example: Default image: ...
2
votes
1answer
17 views

How do I know which programs use a particular file?

I found a file called kernel-4.2.5 in my Home directory and I want to delete it but I don't know what harm that could cause. Is there a way of knowing if that file is being used because my kernel ...
0
votes
2answers
19 views

How to delete a file from another directory in ubuntu terminal

I'm starting learning Linux Ubuntu commands, now I want to learn how to delete a file from another directory while I'm in a different directory. Like, now I'm in Documents and want to delete "TEST" ...
3
votes
2answers
112 views

How to delete all first-level subfolders that do not have a specified string in their names

I know that there are quite a lot of answered questions about how to delete all files with or without a certain string in their names, as well as ones about how to delete all subfolders with a certain ...
0
votes
2answers
22 views

How do I delete files using the Gutmann Process?

I've been trying to delete some files, large ones in particular, to help smoothen out my system, Is there any command or programm that deletes files via the Gutmann Process?
1
vote
1answer
51 views

all my previous configurations and settings are gone by using the following command in ubuntu 14.04LTS

I used the command rm -rf ~/.Trash/* to empty the trash but when the command is executed, all my files in Download folder are deleted and all my Ubuntu settings are changed. Can anyone please help, ...
1
vote
1answer
54 views

Unusual hidden files in $HOME on Ubuntu 14.04.4

[Running Trusty Desktop with Kernel 3.16.0-50-generic #67 on x86_64] [My box is set up as dual boot - Ubuntu sits along WinXP, which lives in a always mounted ntfs-3g FS] I have unusual hidden files ...
2
votes
1answer
41 views

How can I undo restoring files from the trash or get the list of the restored files?

I accidentally restored a set of files (around 15-20 in total) from the trash, instead of deleting them (sic). Is there a way to undo this process or to find which files were restored to which ...
0
votes
0answers
16 views

Rsync to ZFS --delete only deletes top level?

I'm trying to get rsync to delete files on the ZFS target which have been deleted on the source, but it only works on the /home/boody level and not lower. Source is Mint 17.3 with /home formatted to ...
3
votes
0answers
24 views

Tar Archive Update And Delete Parameters

I use -uvf parameters to tar my home folder, but it accumulates files and I soon run out of disk space. What combination of parameters rewrites only changed files and removes deleted?
0
votes
0answers
102 views

How to delete 'dir.xxx' extention files? [duplicate]

I am newbie in Linux. I downloaded a SD card recovery software and messed up somehow. Now my 'download' folder filled up with these protected folders to the fullest: and I can not delete those ...
0
votes
4answers
9k views

how to delete locked folders/files

How to delete locked folders/files? When I try to delete them an error occurs: "Error removing file: Permission denied" I am root. See the image below to know what kind of folders/files. thanks
1
vote
1answer
30 views

Can I delete the mwf_config file?

I found this file in ~/Documents (not hidden), I opened the file in Pluma but found that it is blank so am I safe to delete it?
1
vote
1answer
25 views

App has been deleting for ever

I tried to install Steam, but it failed. The thing is, I tried to delete it from the app center (not sure what it is called in English), but it has been stuck at the 'Deleting...' point for last 20 ...
0
votes
1answer
31 views

Delete all hidden files recursively in current directory [duplicate]

I have a directory which contains hidden files and by that I mean, not just the files whose name starts with . but also the files whose name contains ~ character at the end like somefile.txt~. I want ...
1
vote
1answer
33 views

/boot/map~ OK to delete when /boot/map does not exist?

I know that files that end with a tilde(~) are OK to delete because they are backups. However, I found /boot/map~, when /boot/map does not exist. Can I delete this? It is 117761 bytes (118 kilobytes), ...
2
votes
2answers
56 views

Auto delete files older than 7 days

I am a complete noob at linux but I am starting to get the hang of it. I have an Ubuntu Server 16.04 running an FTP server to backup security video files. The files will be stored in folders like: /...
4
votes
1answer
259 views

Deleted Items not appearing in Trash folder. Stuck in .TRASH-1000

I have a three 3TB discs in a BTRFS RAID 1 configuration mounted at /mnt/btrfs on my machine. There is a symlink at /btrfs. There are a number of subvols within this, /archive /backups /games /home /...
1
vote
1answer
46 views

How to delete all .class and .csv.gz files in the folder and all the subdirectories in SVN [duplicate]

I'm trying to delete all .class and .csv.gz files from my svn directory and all subdirectories. Can anyone tell me how to do it automatically with a command ? I have RabbitSVN installed on my Ubuntu. ...
0
votes
0answers
27 views

Script to delete smaller 'duplicate files' recursively with suffix

I've got an issue on my system where a image import process occasionally fails, causing some imported files to be truncated. Re-running the import process often works, but changes the imported file to ...
0
votes
2answers
34 views

How to delete all files in current directory but keep files in subfolders

I have a structure like this file_1 file_2 ... file_n folder1/ sub_file_1 sub_file_2 I only want to delete file_1, file_2 and file_n but keep all folders and files in them.
2
votes
0answers
24 views

Force all deletes to be secure

I have setup an Ubuntu Server for my university project. Aside from full disk encryption I also intend to use Dafturn Ofris (a Linux deepfreeze) to make file recovery difficult or for any forensics ...
0
votes
0answers
22 views

Trash bin icon won't clear

The trash bin icon won't clear even though it's empty. I think it has something to do with deleting items from externals as suggested elsewhere, but after trying the suggested operations in different ...
0
votes
2answers
46 views

How can i delete Ubuntu from the computer? [duplicate]

I want to clear my computer from everything but i have no clue how I will do this with Ubuntu Plz help me before i will throw my computer throgh the window. With other words i don't want to have ...
0
votes
1answer
25 views

Restore Pictures folder in Ubuntu 14.04

I'm accident delete Pictures folder in /home/my_username. I try to re-create that folder but it seems that the system doesn't understand it. All the pictures I take from the screenshot, shutter, save ...
0
votes
2answers
75 views

Unable to delete a folder, it keeps recreating itself

Ubuntu 15.10. I was attempting to get the webcam application "Cheese" to work. Some of the proposed solutions involved deleting a folder in my home directory: ~/.cache/gstreamer-1.0. However, ...
3
votes
2answers
239 views

Prevent folder deletion for the owner of a folder

Let's assume that I have a webhosting server running on my ubuntu 13.04 system. For each customer I get that wants to host a website on my server I create a user and add it to a group called '...
-1
votes
1answer
26 views

How to delete the duplicate file with extension “~”

I have an issue opening one of the config file, each time when I try to edit it by giving sudo vi XX file name XX it says: "Swap file ".config.ini.swp" already exists! [O]pen Read-Only, (E)dit ...
0
votes
1answer
49 views

where did I accidentally move my files to?

I attempted to rename all .el files to the same name but without ending. I used the command mv *.el ./* in my terminal and now my home is pretty much empty. Any suggestions how to revert that or where ...
0
votes
3answers
98 views

How to remove files with no permission?

I have leftovers of pylotro a windows emulator, but cant move all files to the trash bin. How do I change permission and delete them?
0
votes
2answers
50 views

When I delete a file from a separate partition, it does not go to Trash

I'm using Ubuntu in Dual boot with Windows 7. I have three partitions: one for Windows, one for Ubuntu, and one for my files (it is used in both OSs; let's call it D). When I use Ubuntu and I delete ...
0
votes
1answer
25 views

Deleting directories and files after uninstallation of LAMP

I want to start a fresh installation of LAMP. I went through several answers on how to remove/uninstall LAMP but the issue being that even after uninstallation there are still many PHP,MySQL and ...
0
votes
0answers
25 views

deleted /etc/grub.d/10_lupin on accident

i was playing around with sudo on accident,and I know it is a very harmful tool to play with,but accidentally,instead of typing sudo VI it took me to sudo /etc/grub.d/10_lupin. can this be repaired ...
0
votes
1answer
25 views

How shred very large folder and subfolder and files [duplicate]

I want to shred or secure delete big folder that have about 100 GB information and many files What command or tool can I use for this?
0
votes
0answers
37 views

Mass delete of emails from text file found in word document

I've got two files. The first file is about 700 email address that I have in a text file, the second file is my complete email list which includes first name, email address. What I need to do is do ...
0
votes
0answers
21 views

How to make an alias for delete function?

Today I erased my thesis. Fortunately, I had a backup on Dropbox, so I was able to recover it. I would like to know if there's a way of using an alias to make a delete function that moves a file to ...
0
votes
0answers
27 views

How to move file into trash from a mounted diretory with symlink?

I have a filesystem mounted under my home dir. For example, /home/user/mount/. I have a directory /home/user/mount/Downloads. And I have created a soft link to it with /home/user/Downloads. When I ...
0
votes
1answer
175 views

How do I force delete a file?

Okay so, I have a random file placed in my desktop named "Unconfirmed 371801.crdownload" and I am extremely worried it is a virus and I want to remove it immediately but whenever I try to remove it it ...
13
votes
7answers
13k views

Why do I get “Directory not empty” when I try to remove an empty directory?

I have this empty directory, but I keep getting the following error message: Cannot remove test: Directory not empty I know this question has been asked plenty of times but none of them helped. I ...
16
votes
1answer
7k views

Deleting contents of ~/.local/share/Trash/expunged …?

Is there a safe way of deleting contents of ~/.local/share/Trash/expunged ? I see It has lots of files & folders I had deleted -- from the trash as well. They are taking a lot of disc space. ...
8
votes
2answers
653 views

How do I delete the target of a symbolic link without deleting the link itself?

I have a symbolic link ~/Desktop/test.txt which points to ~/rendu/test.txt. I know ONLY the path of ~/Desktop/test.txt, I want a fast way to delete ~/rendu/test.txt WITHOUT deleting the symbolic link....
0
votes
1answer
169 views

No space left on device even after deleting files

I used bleachbit on root and after deleting 100s of megabytes it still says there is no space left on device? What can I do to fix this? I believe this is a bug in Ubuntu and it remains unfixed! I ...
-1
votes
2answers
104 views

Can't delete file and folder from my desktop

Hello i'm new ubuntu user so here my problem, i can't delete file and folder from my desktop there is no option for that."Move to trash" is not optional on list when i press right click.
0
votes
1answer
133 views

How to fix desktop error “Permission denied”

I can't delete,add and put on desktop files and folder and with everything i only see this. Help me please.
-3
votes
1answer
31 views

When I install Ubuntu , all Windows 7 drives will be deleted. How can I recover them?

Sir, I just installed Ubuntu 14.04. Then all my Windows drives were deleted. I have my important data in Windows. Please tell me any way I can recover my all files. Please help me!!!
1
vote
1answer
462 views

How to delete chat history in skype for only one contact in Linux

I'm trying to delete chat history for only one contact in Linux. I've tried sqlite: http://www.sqlite.org/download.html but it removes chat conversation for a while and after restart skype it ...
1
vote
3answers
96 views

Can't delete a file with a '?' in the file name

Can't delete a file with a '?' in the file name, it fails to delete with the message 'the file does not exist'. I've tried through the terminal using rm -f ./pathtofile\?.mkv But despite no ...
1
vote
1answer
76 views

cannot delete an empty folder in “root”

I created an empty "FTP" folder whilst setting up an ftp prog on kubuntu 14.04. I wish to delete the empty folder "ftp" in my root but having used the terminal command rm I get the answer that the ...