Skip to main content

Questions tagged [files]

Manipulating files: copying, renaming, searching, analyzing, archiving, etc. For operating on text in a file, see /text-processing. For questions about the Files file manager (formerly Nautilus), see /nautilus.

0 votes
0 answers
44 views

I use an application that when it starts up, it creates lots and lots of files in a specific directory. These files are apparently useless, as I frequently remove them and I have never seen any ...
John Gordon's user avatar
1 vote
0 answers
47 views

I was running a nohup'd badblock scan when I started running another nohup job in the same directory. I was assuming the jobs might mess up each others output, but what happend was (in aftersight no ...
MortenSickel's user avatar
  • 1,453
1 vote
0 answers
58 views

I have a very messy deep file hierarchy tree of files with duplicate names in different directories and possibly even duplicate files with different names. $ find mp4/ -type f | more mp4/._.DS_Store ...
Niklas Rosencrantz's user avatar
0 votes
0 answers
37 views

O_DIRECT allows writes on a file to proceed with i_rwsem in read mode. Let's say I have allocated 100 fs blocks(4K) for a file with posix_fallocate(). This now becomes an unwritten extent for the file....
mhsquare's user avatar
-2 votes
1 answer
117 views

I have many, many tb of files from over the years, stored poorly and transferred. Mostly from Win7 days. I am mindful that bitrot is a problem and I’m sure in my travels Ive seen a couple videos which ...
1toneboy's user avatar
  • 493
5 votes
4 answers
525 views

I have a large folder of data files, which I want to copy into subfolders to make a specified number of batches. Right now I count how many files there are and use that to make ranges, like so: cd /...
rubberduck's user avatar
10 votes
7 answers
1k views

I am writing a script that locates a special type of file on my system and I want to check if those files are also present on a remote machine. So to test a single file I use: ssh -T user@host [[ -f /...
Nunkuat's user avatar
  • 203
0 votes
1 answer
87 views

I have 2 files: nand and spare. I need to combine them like this: first 512b from nand + first 16b from spare + second 512b from nand + second 16b from spare + and so on I'm on Kali.
Alex Alexandru's user avatar
0 votes
0 answers
67 views

I currently use freefilesync on ubuntu 24.04 to back up my data. A couple of months ago I started to get errors on the external backup disk that a quick (and ineffective) look didn't resolve so I just ...
KeithW's user avatar
  • 1
0 votes
0 answers
83 views

I have a number of drives on a given machine with different disk configuration. root drive. 2 disk mirror. zfs array. To accommodate a variety of failure scenarios, I want user homes to be: zfs ...
John's user avatar
  • 109
6 votes
1 answer
730 views

In Linux in a Folder there are many files, all created with fallocate with random size. How to find files whose size is not divisible by 4096 and correct the filesize (rounded up) to a multiple of ...
Banana's user avatar
  • 241
0 votes
0 answers
39 views

If I place myself in some directory C and press the search lens and type some keywords, are files matching the keywords in directory C displayed first? This is not obvious, for instance if the search ...
user324831's user avatar
0 votes
2 answers
132 views

If I open a fifo for reading+writing in blocking mode: fd = open("foo", "O_RDWR"); Then it blocks until someone on the other end opens it for either reading or writing. But how do ...
Ariel's user avatar
  • 117
-2 votes
1 answer
1k views

I'm new to Linux (just over 1 month) and I’ve encountered a problem with my drive. I have the main drive (SSD) and a secondary drive (HDD). The HDD was working fine, but now I’m getting this error ...
PythoonNoob9000's user avatar
0 votes
1 answer
255 views

I accidentally changed the permissions of everything in my root directory with sudo chown -R martin:www-data / by hitting enter too early. I stopped this command is it starting throwing errors about /...
themartin's user avatar

15 30 50 per page
1
2 3 4 5
338