Questions tagged [deleted-files]
The deleted-files tag has no usage guidance.
128
questions
0
votes
0
answers
34
views
files getting automatically deleted on my dual boot
I have two main partition on my laptop, C: where windows is and E: where my files are and one extra partion which I created by shrinking partition E: where my fidora linux is installed(in total 3 main ...
0
votes
0
answers
222
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 ...
12
votes
4
answers
2k
views
How can I restore my default .bashrc file again?
I accidentally changed all the contents of the .bashrc file and I haven't scripted it yet so there's no problem for now. I added little scripts to it (just a few alias), so I can write them again one ...
0
votes
0
answers
69
views
Recover Deleted Files From Ubuntu18 Cloud Server
Data got completely erased because of system failure. I am trying to recover the files using extundelete.
While trying to recover the folder, iam receiving the following error.
Command iam using : ...
0
votes
0
answers
26
views
Trashed files still remain in .Trash/1000/files after trash-empty
I use trash-cli to put files on trashcan from command-line.
According to the documentation the command trash-empty remove definitly all files from the trashcan. So, I did it, but I find the files ...
0
votes
0
answers
20
views
Delete 1x file oncondition that 2x.png and 3x.png are not removed from xcode project
How to delete all 1x images with a condition that @2x.png and @3x.png are not deleted from project in xcode.
I ran
find /pathtofile ( -name -ne "*2x.png" -a -name -ne "3x.png" -a ...
0
votes
1
answer
51
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
0
answers
92
views
ntfsundelete not reading entire partition
To avoid XY problem, here's the background of the problem I am facing...
I have an external hard drive which should have hundreds of files and suddenly, all of them disappeared (I have no idea why).
I ...
0
votes
1
answer
132
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 ...
0
votes
0
answers
290
views
Recover files from a tmpfs?
How do I recover files from a tmpfs?
Some people say to use Volatility, but Python 2 Volatility doesn't have any Linux modules, and I don't see where to do file recovery in the Python 3 Volatility ...
1
vote
2
answers
2k
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 ...
2
votes
1
answer
524
views
`rsync` deletes all after input/output error mapping
I'm running a rsync command between two servers with the following command:
rsync -auv -P --delete --delete-excluded --stats --progress -e "ssh -i ~/.ssh/$ssh_pkey -p $port -l $user" $...
0
votes
1
answer
7k
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, ...
4
votes
0
answers
644
views
File deletion bypasses trash bin on Btrfs subvolumes
Nautilus trash do not move file to trash bin on btrfs file system
instead it deletes them permanently. Thunar seems to do the same thing,
and it seems related to lower level library implementation of ...
-1
votes
1
answer
403
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
1
answer
9k
views
How to recover files deleted by rm -vr?
When looking up a way to uninstall minecraft using console commands, the very first result on google told me to use the command: rm -vr ~/ .minecraft/*.
I thought, oh well, I'm specifying the ...
2
votes
0
answers
403
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 ...
1
vote
0
answers
1k
views
df shows that no space left, but du disagree
df -h show that I'm almost out of space on my / (output is truncated):
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3,2G 2,2M 3,2G 1% ...
2
votes
1
answer
45
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 ...
2
votes
0
answers
958
views
ext4magic segfault
I am trying to restore a directory I accidentally deleted which contained many files. Ironically this was a fat finger error while trying to set up a backup! I am following the instructions here:
The ...
34
votes
3
answers
5k
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/...
2
votes
1
answer
586
views
linux /proc/mounts deleted, how to fix?
I have no idea how it happened but /proc/mounts is gone
root# cat /proc/mounts
cat: /proc/mounts: No such file or directory
I can no long mount NFS shares anymore either.
# mount -t nfs 10.10.10.10:/...
9
votes
7
answers
6k
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 ...
1
vote
0
answers
408
views
Why does redshift use the deleted file /memfd:pulseaudio?
I ran a rkhunter scan (sudo rkhunter -c --enable all --disable none --rwo) and it showed me that redshift is accessing a deleted file.
I'd like to find out why it's doing so and why it would need ...
4
votes
1
answer
1k
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 ...
3
votes
1
answer
2k
views
Does anyone know the way to undelete file on ZFS?
Is there any way to undelete file on ZFS.
I overwrote JPG file with the scanned image.
Unfortunately, I didn't take snapshot.
But ZFS uses the CoW mechanism, overwritten data may still alive, I think.
...
1
vote
2
answers
478
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
3k
views
Restore deleted version of nginx configuration
I applied the following wrong Sed command to my nginx configuration:
sed 's/php7.2-fpm/php7.4-fpm/g' /etc/nginx/sites-enabled/default > /etc/nginx/sites-enabled/default
And the entire file is gone....
0
votes
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% /
...
1
vote
1
answer
51
views
Is it possible to read a .sh that was deleted from file system but is being executed? [duplicate]
I've received a project that some dude did and it's on production stage. But that guy had some issues with project managers and other team members (bad attitude, being an ass.. etc). Intentionally he ...
0
votes
0
answers
140
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 ...
-4
votes
1
answer
1k
views
I need a script to delete files that are more than a certain size, in centos 7 [closed]
Given the name and size of a file, if the files size is more then the given size it should be deleted.
1
vote
0
answers
44
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
787
views
I accidentally deleted var directory in my linux opensuse system. I can't acces the GUI as var/lib/gdm also got deleted
Message shown:
Server authorization directory (daemon/ServeAuthDir) is set to /var/lib/gdm but this doesn't exist.
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....
-2
votes
1
answer
1k
views
after deleting some files. space is not freed
after deleting some files. space is not freed.
by running the command df -h the free space is always 0.
/dev/sda3 233G 224G 0 100% /
even after rebooting the system
output df -h;ls -l ...
0
votes
1
answer
1k
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
3
answers
973
views
Accidentally deleted /usr/ directory in CentOS 8
Accidentally /usr/ directory got deleted, in Cent OS 8. For recovering CentOS, I have found this link which needs live CentOS 8 installed in USB drive. However CentOS 8 doesn't have live ISO release ...
1
vote
2
answers
4k
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 ...
3
votes
1
answer
307
views
Problems with apt in Raspbian where /var content has been removed or corrupt
Apparently on a production server there has been some problem and someone has deleted the contents of the /var folder.
This has caused several errors that I have been solving with various services ...
-1
votes
1
answer
500
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 ...
0
votes
2
answers
189
views
Delete one type of file from specific directory however not from subdirectory
I am currently working on HP-UX and have a cron job which runs every morning which deletes file older than certain number of days based on retention policy. Recently I added a sub directory at the ...
1
vote
1
answer
436
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 ...
1
vote
1
answer
564
views
Use rsync to mirror source for website deployment, but not delete selected files in destination
I have been working on this for several days and no matter what I do I can't get it to work. I've read practically every Q&A on StackExchange network about rsync but still not found the answer.
...
0
votes
2
answers
738
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?
7
votes
2
answers
580
views
On Mac OSX, how can I open a deleted file which is still open by a process?
b2-osx108v8-01:~ bamboo$ lsof -p 264
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
<lines removed>
java 264 bamboo 20w REG 1,2 240906 ...
7
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:
$ ...
1
vote
1
answer
186
views
Is there a way to completely delete a previously deleted file without formatting the whole drive?
I am working on a server with others and I want to completely delete files which were previously deleted using 'rm'. I cannot format the server disk as others share it with me. Is it effective to ...
0
votes
1
answer
212
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-...
2
votes
1
answer
3k
views
How to undelete a file on a btrfs filesystem
Which software and commands are required, to undelete a file on a btrfs filesystem?