Questions tagged [deleted-files]
The deleted-files tag has no summary.
128 questions
0
votes
0
answers
42
views
Recover deleted txt file which was stored to btrfs right before another one that I still have
I used my terminal emulator to run a command and redirect output to a text file on my btrfs. Right after, I did the same with another command. I since deleted the first text file and not the second. I'...
0
votes
1
answer
189
views
ext4 and chattr ( change attributes ) 's - undo ( u ) option
This is an microsd ext4 card on a rooted Android, where I want to use
busybox chattr -R +u /mypath
I know what +u means but does anyone have an idea about how the undo option is implemented for ext4 ...
0
votes
0
answers
1k
views
How to recover files accidentally deleted from LUKS encrypted device?
I just "Permanently Deleted" two pictures from a folder in my disk that is encrypted with LUKS. I ran sudo testdisk and navigated through the menus. It did identify the two now missing files ...
0
votes
1
answer
199
views
my system is almost useles after running this cmd sudo apt-get remove --purge '^nvidia-.*'
Hello I'm very new to linux and the cmd line and have been learning a lot through google, firefox, and bing. I'm running Ubuntu server Xenial 16.04.07 LTS with all security patches from ubuntu, ...
0
votes
1
answer
281
views
remove files after x hours but ignore hidden folder/files
I have a mounted a folder to a seedbox. and in the folder i use syncthing. so it creates a " .stfolder" which is used for syncthing . basically i am having trouble finding a script to run ...
1
vote
2
answers
3k
views
Restore deleted contents of a text file
Due to this bug, the content of one of my source files was deleted. I searched a lot and found that I can read the raw data on the storage device with the dd command, and I can find the address of ...
0
votes
1
answer
10k
views
mkdir gives "No space left on device" message but sudo mkdir works [duplicate]
When I try to use mkdir test in /home/, I get mkdir: cannot create directory ‘test’: No space left on device. I've deleted over 1Gb of files and restarted some processes that were using deleted files, ...
-1
votes
1
answer
1k
views
Tab completion error: bash: cannot create temp file for here-document: No space left on device
I am absolutely new to Linux.
I downloaded 50GB of data on the server disk via SSH.
Then I deleted them using midnight commander.
Now, the tab-completion doesn't work, and it is giving me the ...
2
votes
0
answers
643
views
Undelete a specific folder with text files on a LUKS-encrypted, btrfs-formatted partition on GNU/Linux
How can I "undelete" a folder full of files on a GNU/LINUX system, where the partition is LUKS-encrypted and formatted using btrfs *?
On my Debian Stable (currently Bullseye) machine I have ...
2
votes
1
answer
53
views
Ensuring no files were deleted from directory at a certain time
I accidentally started an rm -rf on a large directory that I was working in. The directory contains, among other things, a data directory containing a number of subdirectories that each contain ...
34
votes
3
answers
6k
views
I just deleted everything in my home directory. How? And why are some files still there?
Never thought this would happen to me, but there you go. ¯\_(ツ)_/¯
I ran a build script from a repository inside the wrong directory without looking at the source first. Here's the script Scripts/...
10
votes
8
answers
11k
views
How to recover “deleted” files in Linux on an NTFS filesystem (files originally from macOS)
My girlfriend has a external hard disk with 10 years+ of photos, documents and more. A lot of these files originate from her old iPhone 5 and her MacBook. The hard disk itself is NTFS Format. Since ...
5
votes
1
answer
2k
views
Is ~/.local/share/Trash/files used by GNOME only for deleted files and not by rm command?
I am using RHEL8, and I see the directory - ~/.local/share/Trash/files
And there were so many files in it. Looking at the name and files present there it gave me an intuition that it is similar to ...
1
vote
2
answers
858
views
Find command in linux and delete, but test with print, give no results
I'm trying to find some files on my NAS and then delete the files/folders that's more then 5 days old. I can use the find command as:
find /volume1/docker/UV/videos -type f -print
And then i get all ...
1
vote
1
answer
2k
views
100% disk usage. what to do?
root@vps559:/# df -h
Filesystem Size Used Avail Use% Mounted on
udev 960M 0 960M 0% /dev
tmpfs 195M 648K 194M 1% /run
/dev/sda1 20G 20G 82M 100% /
...
0
votes
0
answers
244
views
how to delete a file physically from disk in linux so that there is no way it can be recovered?
I am trying to delete a file in linux, (Ubuntu 20.04). As per my understanding, when we delete a file, the inode and directory entry structures are modified first and the file is actually deleted at a ...
1
vote
0
answers
58
views
Copy a file with zero links but still open in some process
I like to copy this file:
# lsof +L -p XXX
Anime4KCP 78674 evar 14w REG 1,6 101187628 0 8682526126 /Users/evar/Base/_Code/Misc/Anime4KCPP/bin/output/...
0
votes
1
answer
1k
views
What is the impact of deleting /etc/rc.d and /etc/rc0.d?
I am relatively new to black-screen Os-es (*nix)
I was given few commands to run on Linux:
remove etc/rc.d/rc0.d remove only logscan, procscan and gpp
I got confused and did:
rm -rf rc.d
rm -rf rc0.d ...
0
votes
1
answer
2k
views
Recovering files on CentOS 7
I would like to know if it is possible to recover files that I have deleted?
I have VPS with CentOS 7 and if it is possible I would like to look for (and recover) deleted files by their file ...
1
vote
2
answers
7k
views
/var/log/messages growing indefinately because rsyslog won't let it be deleted
I had an issue with /var running low on space despite it only appearing to have only 2 gigs of files allocated on the 5 gig partition. I determined the issue was that /var/log/messages was deleted but ...
-1
votes
1
answer
649
views
Restore deleted images (png/gif/jpg/jpeg)
I inadvertently deleted images from my Linux filesystem today with classic command rm -f.
All deleted images were in one single folder. Not all my images were in this folder, it was only very specific ...
1
vote
1
answer
650
views
Recovery software for corrupted files when running a linux system?
I am looking for options regarding recovering deleted files (don't recall if corrupted applied).
Filesystem for the corrupted files are VFAT-formatted on a USB, though I run a Linux system (but can ...
0
votes
2
answers
888
views
What does it mean to overwrite a file but keep it?
The wipe tool has the option -k Keep files, i.e. do not remove() them after overwriting.
What does that mean not to remove a file that was ... well... wiped?
9
votes
2
answers
3k
views
What happens when the current directory is deleted?
In the first terminal A, I create a directory, enter the directory, and create a file:
$ mkdir test
$ cd test
$ touch file1.txt
$ ls
file1.txt
Then in another terminal B, I delete the directory:
$ ...
0
votes
1
answer
264
views
rm -rf destroyed directories of the files set to be deleted (multiple arguments)
In a testing environment I executed:
rm -rf /var/www/html/${domain} /etc/nginx/sites-available/${domain} /etc/nginx/sites-enabled/${domain}
The result was that html, sites-available and sites-enabled ...