Directories is an alias for folders. Use this tag for questions about creating, managing, using, and deleting folders.

learn more… | top users | synonyms

7
votes
4answers
329 views

File text searcher

I have a working version of a logfile searcher that targets a specific directory by extension type, and searches the files for certain words. I'm wondering if my method is the most efficient ...
3
votes
1answer
31 views

Perl file sorting script

This is my first ever real 100% self made perl script, I'd like to know how I can improve it. ...
2
votes
2answers
82 views

Recursive function for listing directories [closed]

The below code is recursive function that list directories in 2 levels: ...
4
votes
0answers
58 views

Copying folder contents from several folders

I have a file directory which contains folders for every month, and within those folders are several text files. In this context I would like to copy all of the text files from my ...
1
vote
2answers
143 views

Directory listing using php

I have to deploy the following code, that will list all the directories,sub directories and files in it starting from the root. The code works but I am not sure about it, if this is the correct way to ...
1
vote
2answers
145 views

Script for creating a hierarchy of directories

This script creates a hierarchy of directories. Is this a good approach or can it be made better? I am mainly concerned with maintainability here, not efficiency. Suppose I wanted to add more ...
3
votes
0answers
450 views

PHP - faster/better implementation of is_dir function for FTP/FTPS connections?

I'm implementing an is_dir() function to determine if a given item is a directory or a file for FTP/FTPS connections. Currently, I have two methods: one using PHP's ...
7
votes
1answer
815 views

Is there a better way to walk a directory tree?

I just started to learn Haskell, and i wrote a function that walks the directory tree recursively and pass the content of each directory to a callback function: The content of the directory is a ...
2
votes
2answers
81 views

Better way to create directories using File

I have this code that generally creates directories within a directory. ...