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.

Filter by
Sorted by
Tagged with
0 votes
2 answers
20 views

I'm in the following situation > ls H9/ HG01109_chr1_hap1_contigs.list HG01952_chr1_hap2_contigs.list HG02572/ HG03486_chr1_hap1_contigs.list ...
Matteo's user avatar
  • 325
6 votes
1 answer
560 views

I made a custom ~/.asoundrc on Ubuntu 24.04, but when I run alsamixer I get an error: ALSA lib conf.c:4123:(config_file_open) cannot access file /home/ruslan/.asoundrc ALSA lib conf.c:4043:(...
Ruslan's user avatar
  • 3,610
0 votes
0 answers
47 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
48 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
62 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
43 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
123 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
  • 503
5 votes
4 answers
530 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
101 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
71 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
87 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
741 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
45 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
150 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

15 30 50 per page
1
2 3 4 5
338