Questions tagged [delete]
Deleting usually means the act of removing files from their former locations on the system.
666
questions
0
votes
0
answers
17
views
Is ubuntu trying to delete all my disk?
I moved a 70gb folder to trash and selected to delete from trash.
It shows that. Are there any problem? I canceled it.
1
vote
3
answers
150
views
How to delete a bunch of files in a folder knowing a part of their filename?
I have a folder of Markdown files. The files use the following filename convention: [Time-based ID] [Title]. With this convention, you have filenames such as 202204101548 Banana bread or 202204101549 ...
-1
votes
1
answer
48
views
Get rid of the OS that installed grub
I have a laptop that runs windows 10, Ubuntu and deepin 20. Deepin 20 is the latest operating system I installed. I want to get rid of it. I tried to delete the deepin partition but that got me suck ...
0
votes
2
answers
36
views
accidentally removed folder as a root
I did sudo -i and rm -r folder ...I typed the wrong folder and deleted a folder I didnt want to delete. Bad practice I know :( Where did the folder end up? Any chance of retrieve?
I am not sure where ...
0
votes
1
answer
42
views
Deleting files under /etc/sudoer.d
I granted another user account sudo privileges for running Docker commands by adding a file with their username directly under /etc/sudoers.d:
username ALL=(root) NOPASSWD:/usr/bin/docker
I now want ...
0
votes
1
answer
37
views
Undeletable "Icon" file
I have a strange problem with some files on my NAS that are not deletable, maybe remnants of some MacOS file copy.
They appear with filename "Icon" in file manager but as 'Icon'$'\r' with ls....
0
votes
1
answer
41
views
Accidentally deleted everything in home directory along with other important files
Might be the worst mistake I've made in Ubuntu. To give some context: I created a directory named "~" by accident in the home directory. Didn't want it so I recursively deleted the directory....
0
votes
0
answers
20
views
Keep bigger size image file and delete image files with smaller sizes of same name, using terminal command
Keep bigger size image file and delete image files with smaller sizes of same name, using terminal command
My directory may contain a_500.jpg, a_1280.jpg BUT b_500.jpg, c_500.jpg, c_800.jpg.
So, in ...
1
vote
1
answer
30
views
Why is there an option to overwrite free space twice nautilus
What is the benefit of overwriting free space more than once?
If you install the plugin that adds this option there are options like:
overwrite free space -> overwrite once, overwrite 2 times (save ...
0
votes
0
answers
49
views
I have the adb and fastboot binaries in usr/bin and in bin and I want to delete all of platform-tools to start from 0
I have had installed in my ubuntu 20 the android-tools-adb android-tools-fastboot from the package.
I found out that they were outdated , so I have try to download the latest one from Android.
I delte ...
0
votes
1
answer
128
views
How to uninstall all software and files in Ubuntu server?
I have a Ubuntu Server. And over the course of time, I have installed countless apps like Apache, Minecraft server etc. but Now I need to uninstall all software and files in Ubuntu server except the ...
1
vote
1
answer
69
views
Mapping `del` functionality onto another key doesn't preserve single-press repeat functionality
My del key is working just fine with single-press repeat actin (i.e. if I keep it pressed, it keeps deleting characters) but if I try to map it (or the DEL functionality` onto another key, this breaks....
0
votes
2
answers
44
views
How to delete a list of filenames without path that are matched in multiple subdirectories?
How to delete a list of filenames without path that are matched in multiple subdirectories?
Delete_list.txt may contain (each filename is per line):
a.jpg
b.jpg
c.jpg
These files may exists in ...
0
votes
1
answer
33
views
How can I delete an Ubuntu installation?
I am new to Ubuntu. I installed it on my laptop twice. Every time I boot my computer it opens the 1st one I installed, which is the one in my HDD, so it's slower. How can I delete it? It's ...
0
votes
0
answers
17
views
PC with HDD and SSD: Delete information in the HDD
In the HDD of my computer I have a partition with windows and ubuntu. I recently decided to upgrade my computer by installing an SSD. On the SSD I installed Ubuntu, however, I forgot to erase all the ...
0
votes
1
answer
176
views
Not able to to delete file with drwx--S--- permission
We are not able to delete file because of special permission drwx--S---. I have tried command chmod g -s filenameion but we cant use root user. SO is there anyway to delete
0
votes
0
answers
46
views
Restore data after I accidentally deleted Ubuntu
I accidentally deleted the partition with Ubuntu (I use dual boot with Windows 11) and would like to restore the data or if possible the whole operating system. I have already tried with TestDisk and ...
0
votes
1
answer
375
views
Shell script to delete all files of certain type in different folders, except 10 latest
First of all, please excuse my poor english.
I am trying to write a shell script to clean up some files of certain type in my backup folders.
I need to remove files of certain type, except 10 newest ...
0
votes
1
answer
30
views
Windows files stuck in Ubuntu trash
I have a dual boot (ubuntu/windows8.1) system. In ubuntu's file manager, popped into the windows partition and deleted a lot of files in some of the user's directories. However, I couldn't delete them ...
4
votes
3
answers
216
views
Security Delete files [duplicate]
I am looking for a program that I can use to security delete files/folders. I know you can do it via the terminal, but in previous releases there was a program that you could install that was ...
0
votes
1
answer
56
views
How can I protect my CIFS attached shares from accidential deletion like 'rm -rf /'?
I have a Synology NAS and I have 2 folders from it attached in /mnt/nas-XXX via /etc/fstab like so:
//192.168.178.100/BackUps /mnt/nas-backups cifs uid=0,credentials=/home/user/.smb,iocharset=utf8,...
0
votes
0
answers
63
views
Accidentally deleted home folder when trying to delete uneraseable files. (How can I get a permission to re-delete recovered files?)
I recovered some files using testdisk/photorec.
After the recovery, I tried to delete the folders I didn't need. The trash says it's empty but the space on the disk didn't free up. Neither restarting ...
-2
votes
1
answer
82
views
remove certain files except others
I found so many suggestions as to how to remove files with exceptions. However, this case is a little different.
Let's say, I have 6 files as follows in my Ubuntu 18.04:
text_1.json
text_2.json
...
0
votes
0
answers
25
views
Slowly delete lots of subdirectories without impacting the server's performance
I need to clean a directory which contains millions of subdirectories. I want to delete all subfolders that are older than 365 days. I tried this command:
sudo nice -n 19 ionice -c 3 find . -type d -...
1
vote
1
answer
250
views
Not getting the right output when using rsync --delete
I'm trying to delete files using rsync --delete but i keep getting this output.
cli screenshot
-4
votes
1
answer
127
views
how to force delete a directory when it says permission denined -> even with root access
I was just working on my kernel project. when I extracted the .iso file, I got everything I expected, all except for that the "boot" and "system" directories were with some lock ...
1
vote
0
answers
44
views
Using fdupes to auto delete files but keep the second file and not the first
As the subject says I'm looking for a way to delete duplicate files automatically. I know I could run the command fdupes -rdN but that automatically chooses the first file while deleting the second.
...
0
votes
0
answers
75
views
How might one remove old Linux kernels by manually deleting files and directories *on a mounted system drive*?
I have a machine that isn't booting (even into GRUB). I suspect that it is not booting because of a lack of hard drive space in some partitions. I have the hard drive of this machine mounted using a ...
1
vote
1
answer
635
views
Deleted file keeps reappearing
On Ubuntu 20.04 I have a file on my desktop which I want to delete but every time I do so, it reappears on the next restart. It's a calendar file (.ics). I can't remember exactly how I put it on my ...
0
votes
0
answers
40
views
Try To Recreate An Accidentally Deleted Ubuntu System
I am new to this forum and am forced to admit how stupid I was : I managed to delete an Ubuntu VM ACCIDENTALLY.
Now I am trying to reinstall that system BUT I am also being asked to repartition my ...
0
votes
1
answer
74
views
Can I change ranger's delete command to move command?
Is it possible to change ranger delete (d, D) command to moving to Downloads directory?
I've written own script what delete from this directory all old files, so it's sth like trash bin directory.
...
0
votes
0
answers
94
views
Software manager removed package but it still appears as installed
Using the Software manager (briefcase icon in apps) I installed Calibre then decided to uninstall it the same way by clicking "Remove".
The app no longer appears in Apps and after running ...
1
vote
0
answers
12
views
Shift + delete sends to trash for desktop files [duplicate]
I'm on Ubuntu 20.10. When I use shift+delete in the file manager, I get a confirmation dialog asking if I want to permanently delete the files, and if I click yes, they're permanently deleted.
However,...
0
votes
0
answers
101
views
How does one delete all traces of Mozilla VPN from an Ubuntu installation
I have installed Mozilla VPN on my Ubuntu installation, version Ubuntu 18.04.5 LTS. It doesn't work.
I would like to delete it, including all traces, so as to attempt a fresh install.
I believe that ...
1
vote
0
answers
51
views
Help! Accidently delete the bin file in the miniconda2. Can't restore from google drive, what should I do? [closed]
Tried update the Ubuntu system, and downloaded the miniconda3. But the python pipelines didn't work on the new conda environment.
Still got the old miniconda2 file without bin file. What should I do?
0
votes
0
answers
85
views
I accidentally removed everything from my base directory. Is there any way to recover these?
After opening terminal I typed
sudo rm -rf * lampp
from my base directory srj@srj. So now I have lost everything in my Desktop and Downloads folder. Can it be recovered in any way. I was trying to ...
0
votes
2
answers
599
views
Remove delete command from SFTP/WinSCP
Is there any way from which we can restrict any particular user to delete files/folder having full permissions from WinSCP.
Thanks in advance.
0
votes
0
answers
83
views
Is it safe to delete an old deja dup backup in Ubuntu 20.04 LTS
So i was wondering, can i delete an old deja dup backup folder because i want to free up space on another partition for Minecraft?
0
votes
1
answer
6k
views
Cannot remove non-empty dir with rm -rf
I try to remove directories that contain files in the command line by using rm -rf dir1. However,I receive error message telling
rm: cannot remove 'dir1': Directory not empty
Any ideas how to solve?
0
votes
1
answer
100
views
Which files can I remove from /boot
I need about 60M more free space to upgrade from 18.04 Ubuntu version to 20.04. I see that a few file names are the same but with different number at the end, maybe some of them are older versions ...
2
votes
1
answer
24
views
Eclipse Icon is availabe after its deletion
I deleted eclipse, but its icon not gone what to do?
As you can see when I search for "ec", I got eclipse as a suggestion thought without icon, but I don't want that suggestion either.
0
votes
0
answers
68
views
is their any possible way to retreive permenently deleted screen recordings which was recorded from kazam
it was taking so much time to save and by accident I permanently deleted it
1
vote
1
answer
1k
views
Uninstall IntelliJ idea from Ubuntu
I have deleted all files of IntelliJ-idea community edition from my laptop, and when I search on terminal for delete, it shows not installed, but on my laptop it is available, help me to delete the ...
1
vote
1
answer
66
views
The item cannot be restored from trash
I don't know why all my files and folders in home location starts appearing on desktop so,I deleted all the files and folders on desktop as i thought that they are temporary after the deletion of ...
0
votes
0
answers
41
views
How to remove identical objects from a pdf file
I have a pdf file with a background that consists of different objects.
Is there a way (GUI or CLI) to delete identical objects from a pdf file, like search based on position and size.
Any help is ...
0
votes
1
answer
69
views
Other programs from software and updates [closed]
Peace everyone
I need help, so I have all this on the list what do I need and what should I remove
want to upgrade my system and I need to know, what of these unneeded at this point
Note: I am an ...
4
votes
2
answers
2k
views
How do I remove the default Music folder
I deleted the music folder in Home, but on the left is still the shortcut. I cannot find a way to delete that shortcut? How do I delete that?
0
votes
1
answer
283
views
Deleted sources.list.d and sources.list in "/etc/apt" accidentally [duplicate]
While debugging some errors, I accidentally deleted sources.list.d and sources.list at "/etc/apt". Now, I cannot install or do anything just because those files do not exist.
How can I get ...
0
votes
1
answer
215
views
Can not delete chroot after aborting it's creation
I am trying to set up a chroot and I ran
sudo qemu-debootstrap --arch=amd64 stretch /srv/chroot/focal-amd64
during the second stage i realized that I wanted focal, not stretch. Copy & paste error....
0
votes
0
answers
35
views
Why does Ubuntu logout when I delete something?
I recently realised that after restarting my laptop, I get signed in automatically. But as soon as I delete a column on a spreadsheet or some text on a file, I get signed out and have to log in again. ...