main folder is home - with subfolders and txt files - on various levels I need the list of entire folders tree - and count txt files inside each of th ...
main folder is home - with subfolders and txt files - on various levels I need the list of entire folders tree - and count txt files inside each of th ...
I wrote a php gallery some years ago, all works fine until I put in scandir a subfolder (foto), I have the following structure: root/gallery/ ro ...
I am working on a program to organise all files in my downloads folder. For that I am trying to move every file in every subdirectory in my downloads ...
I have used "os.walk()" to list all subfolders and files in a directory tree , but heard that "os.scandir()" does the job up to 2X - 20X faster. So I ...
PS C:\Users\ahmad\Desktop\nft\metaplex-master> ts-node C:\Users\ahmad\Desktop\nft\metaplex-master\js\packages\cli\src\candy-machine-v2-cli.ts uploa ...
I've issue with scandir(), when I'm trying to call method from class that is using scandir() it doesn't work, witch means it doesn't see any dirs. he ...
please I am running a react native project but when I run the npx react-native run-android command, I get the error below Please can someone point ...
I've got a number of mp4 video files in a folder. When I use scandir with a relative path, the files display correctly in the webpage and can be playe ...
I'm learning C and I have this implementation to sort the files and folders, but this isn't case insensitive: And if I have a.txt, b.txt, C.txt and ...
I am trying to do some work within some files in a directory. The basic structure of what I'm trying to work with is folder -> sub-folders -> fi ...
I have a folder in my webserver that contains 81633 files in. I can see that by using the command: ls | wc -l When I use scandir function it returns ...
I want to make a simple file browser using PHP. As I am new here in PHP. I need some push, I have come to this so far. How can I complete that code ...
For each document (.pdf, .txt, .docx ecc) I have also a corresponding json file with the same filename. Example: file1.json, file1.pdf, file2.json, f ...
I'm implementing parts of the Linux ls command in C. I want to sort the contents of directories lexicographically, which I've been doing using scandir ...
i have search values like "search value" (defined as $q) and .txt files called "search value.txt" in /mydir/ directory. How can i scandir /mydir/ for ...
I need to sort file names in alphanumeric descending order. I have written the following code In C, but it's sorting in alphabetic only order I guess ...
I have the following python code in pycharm: This works fine as intended but pycharm is warning me 'unresolved attribute reference' for entry.name ...
I'm trying to list the files in a certain folder, but some folders have special characters such as a degree symbol. Using scandir () or RecursiveDirec ...
I've done a bunch of research on this one and there are very different answers. I can't get confident that I won't mess up my Apache settings or cause ...
I am just trying to read a directory and out put the file names to a csv. The directory read works fine. It is when I try to write to the csv that I a ...