Most voted "file-system" questions
A file system is a way of organizing data on a computer system. Typically, a file system is composed of files, folders (usually a special type of file) and an API that can be used to interact with files.
Learn more…79 questions
Sort by count of
-
0
votes1
answer371
viewsHow do I read a C sound file?
I want to make a mini sound player using double chained list, and I wanted to know which library and what functions it uses to read a sound file in c ?
-
0
votes0
answers64
viewsDate and time of file modification to download a wordpress site
I need help, I have a Wordpress site. this site has a downlaod page of files, I would like to know if there is any plugin or any way to display the date and time of modification of that file to…
-
0
votes2
answers1165
viewsScript to check if directory is empty
I’m knocking my head to create this script. I need a script, can be in bash or php even, check if a directory has some file inside, that is not another directory. This directory that I have to scan…
-
0
votes0
answers451
viewsSaving txt files with c++
I am trying to create a program that saves data stored with hash in 4 different txt files, depending on the index of the hash it chooses the file to save. example: hash índice 0 = txt_0.txt hash…
-
0
votes2
answers1270
viewsIs the dot and comma character (;) allowed in filenames?
The character ";" is allowed in filenames? In windows you can use the character ";" in naming files without any problem, but I do not know if the same rule is for Mac or Linux. I researched file…
-
0
votes3
answers703
viewsHow to leave the program open in python
I made a program that reads a file but it reads and already closes, how to add a 'Press S to exit' for example and leave the print on the screen for longer? -below is the code…
-
0
votes2
answers1761
viewsRelative path in Java
I need to read a txt. Only my project has to be extensible. type q does not only work on my machine. I think the txt file would have to stay in the project folder, and put a relative path. but I…
-
0
votes1
answer129
viewsRead files in python
good... I have a file with the following things : if else ( ) ' " print and the following code : arq = open('system/commands.txt','r') arquivo = arq.readlines() for l in range(0,7):…
-
0
votes1
answer395
viewsJoin multiple mp3 files into a single mp3 file
Hello! I would like to create a program (in C language or other capable) that receives as input a text and return me as output a song. For this I would need a text file (.txt) where I would need to…
-
0
votes1
answer236
viewsRead files synchronously in Cordova
Is there any way in Apache Cordova to read the contents of a file and save to a variable synchronously? This is because, in the Cordova File API you must use a callback function when reading a file…
-
0
votes1
answer216
viewsHow to display, in treeview format, only the folders and subfolders, and the contents of both, that are on the desktop?
Good people, I’d like a little help I made a file explorer that aims to map all folders, subfolders and files of these folders and subfolders according to the letter that is selected. The problem is…
-
0
votes1
answer679
viewspath must be a string or Buffer in the console: Node.js (Electron)
I am developing an application on Electron, and one of my functions is to backup a json. When I open the ('fs') and saved the file, I get no error on the console. When opening the dialog box and…
-
0
votes1
answer254
viewsI need to go through the data of several txt, take specific data and generate a csv
I’m already going through the files and accessing the data, but I need to get what’s after the following line: P.A.C.() initial P.A.C. () Sopave of the quota due 3a. installment due due due payment…
-
0
votes2
answers335
viewsSearch for words in almost 1 million files
I am looking for methods/ideas that can help me to solve my problem. I have a structure of folders / files that my program generates, so far so good. But what happens is that this folder already…
-
0
votes1
answer1068
viewsList and Access Python subdirectories
Good afternoon guys, I’m trying to create a very simple text file management system, but in some of the difficulties I am found is accessing and manipulating files in subdirectories. Below I have…
-
0
votes1
answer55
viewsIs it a problem for me to work only with reading a file with it open in both write and read mode?
I’m starting to work with C files and need to do the skeleton of a book registration program, saving the information in a file. My question is whether I should work with the files like this, opening…
-
0
votes1
answer85
viewsis_dir() function does not work as expected
Greetings! I am developing a file system to read the files of a given directory and return the value in JSON. However, I intend to separate in this JSON if the item is a file ("type":"file") or a…
-
0
votes0
answers56
viewsAlternatives to File System functions with Node js
While performing a function to open a very large file ,the same returned me this error Error: Cannot create a string longer than 0x3fffffe7 characters at stringSlice (buffer.js:602:44) at…
-
0
votes1
answer121
viewsUpload files to separate folders in the database
Good morning, first excuse my noobisse but I’m still learning kkk I am creating a system (I am using HTML, CSS, Javascript, PHP and Mysql Database), where will have several registered users and each…
-
0
votes0
answers57
viewsAndroid - Error while saving file on SD card
I recently created an application in which I share files through a Intent filter, so that the user can save the shared file to any system folder. The purpose of this application is to share a file…
-
0
votes1
answer26
viewsDoubt - Php with file iput
Good afternoon, I have a form in which an image is uploaded, when it is uploaded I receive the photo as array below, in php it creates a temporary file in the case tmp_name. I need to show the photo…
-
0
votes0
answers14
viewsHow to pass the value of a client variable to a Node.JS server?
I am developing an application that will need to replace an XML via FS, and all the contents of that XML is stored in a variable that is created by JS in the client after pressing a button. I need…
-
0
votes0
answers15
viewsConflict between counting words from a file and other functions
I need to make a progress as described in the image. I was able to do all the steps, but I couldn’t get the word count to run along with the other processes. I followed the code: #include…
-
-1
votes1
answer226
viewsHow to use python files
I am still finishing a program as work of Project I and I have a lot of difficulty in the part of files. I am unable to insert an array into the file. Does anyone know how to do this? The program is…
-
-1
votes2
answers523
viewsFile encoding in ASC II
I am developing a php application that generates shipping files to the database and these files have to be with the specifications below: Coding System - Low Platform ASC II - including the file…
php filing-cabinet character-encoding file-systemasked 6 years, 8 months ago Leandro Silva Campos 543 -
-1
votes1
answer148
viewsHow to read a certain line of multiple files in Java
In the Stock folder, I have several.txt files. I would like to read each row of these files. The question is: how? NOTE: if I could save the name of each file, I might be able to solve the problem.…
-
-2
votes1
answer1133
viewsHow to recover Mysql database tables with corrupted operating system?
I owned a site installed on apache with windows server 2016, gave a problem in which the system got corrupted, but the files are there, the backup that I have of the bank and a week ago, only that…
-
-2
votes1
answer48
viewsHow can I print my results in a text file?
Well, I need to solve some linear systems through the Jacobi method using Python 3.8 programming, I made the code (which I’ll leave below), but I can’t make a print file that stores my results in an…
python-3.x mathematics file-system computer-vision programming-principlesasked 4 years, 6 months ago Victor Cunha 1 -
-2
votes1
answer67
viewsPython: Error in . write() method
I wrote a code that would run on my Desktop. The script would write a text in another directory. To switch directories, I used os.chdir(), then used subprocess.check_output() to execute a shell…