folders

Is sub-domain better or sub-folder?

I have a classifieds site and I want to know whether creating subdomains or sub-folders is better, as I am in state of confusion. If we need to take sub-domains then what are the benefits which we can get from sub-domains? If we need to take sub-folders then what are the benefits we can get from them? If we create sub-domains then Goo...

How do I copy a folder and all subfolders and files in .NET?

I'd like to copy folder with all its subfolders and file from one location to another in .NET. What's the best way to do this? I see the Copy method on the System.IO.File class, but was wondering whether there was an easier, better, or faster way than to crawl the directory tree. ...

How to get explorer folders as default folder view?

I like the style of of folder tree browser where there is an explorer pane on the left. In XP you can get this in View -> Explorer Bar -> folders. However, there doesn't seem to be a way to set this as the default view, at least through the Tools -> Folder Options menu. Do you know how to do this? Also, is there a way to get this in Vis...

C libraries for directory access

I know that standard C doesn't give me any ability to do anything with folders, but I would like a fairly portable and cross-platform way to access folders. At this time, all I need to do is make a folder, check if a folder exists, and possibly delete a folder. I can forsee needing to read files from a folder in the near future, but that...

Search a folder for files like "/*tmp*.log" in Python

As the title says, I'm using Linux, and the folder could contain more than one file, I want to get the one its name contain *tmp*.log (* means anything of course!). Just like what I do using Linux command line. ...

PHP (folder) File Listing in Alphabetical Order?

Hi all, I'm not sure how simple this would be, but I'm using a script which displays the files from a specific folder, however I'd like them to be displayed in alphabetical order, would it be hard to do this? Here's the code I'm using: if ($handle = opendir($mainframe->getCfg( 'absolute_path' ) ."/images/store/")) { while (false !=...

Monitor folder

Hello, I need to build a Java application that monitors changes performed to a folder and to the files residing in it; these can be created, edited or even deleted and the application must be able to detect it regardless of the operating system in use. Is there any free library that may be of use? If not, which methods may prove useful...

Android: how to display folder content in a dialog

Hi, I would like to create a dialog with the list of files from selected folder. Does anyone know about any good example available on the web or just briefly describe how to solve this task? Thanks! ...

Description of folder structure of Qt SDK

Do you know any resource describing Qt SDK folder structure? I'm wondering why some of dll files are in c:\qt\2009.03\bin and in c:\qt\2009.03\qt\bin at the same time? Having the same name they have different sizes (for example QtCore4.dll - 2 016 256 bytes in the first folder and 2 730 496 bytes in the second folder). What's the differ...

Adding specific files or folders to a windows explorer view

I've been working on a tagging program for my computer. I need to the ability to pass a list of files or folders into an explorer (or something similar) to display them and be able to manipulate them much like you would do with a folder view in Windows. I've already written the software which records and stores tags relative to file's ...

Bash scripting: Find all filetypes and paths

Using Bash, how can you traverse folders within specified folder, find all files of specified file type, and every time you find a file, get full file path with file name and full file path without file name as a variables and pass them to another Bash script, execute it, and continue searching for the next file? ...

SQL Server Stored Procedure Folders/Grouping

We are currently using SQL Server 2000 but will soon be moving to 2008. I am looking for a way to group related stored procedures into folders. SQL Server 2000 does not seem to have this ability and from my searches it looks like 2008 does not either. This seems like a basic feature that most users would want. Wouldn't it make sense to...

When running phpdoc on a CodeIgniter project, which folders should be included?

On my first try, I've only included system/application/models, system/application/controllers, system/application/helpers, and system/application/libraries. I chose those folders because I think those folders contain the code that you want to be properly documented for future reference. What other folders do you think should be included...

Listing directories at a given level in Amazon S3

I am storing two million files in an amazon S3 bucket. There is a given root (l1) below, a list of directories under l1 and then each directory contains files. So my bucket will look something like the following l1/a1/file1-1.jpg l1/a1/file1-2.jpg l1/a1/... another 500 files l1/a2/file2-1.jpg l1/a2/file2-2.jpg l1/a2/... another 500 file...

Linux: Move 1 million files into prefix-based created Folders

I have a directory called "images" filled with about one million images. Yep. I want to write a shell command to rename all of those images into the following format: original: filename.jpg new: /f/i/l/filename.jpg Any suggestions? Thanks, Dan ...

folder monitor in java?

Is there a way to monitor folders in java to see when they are updated, ie file created, deleted, renamed,etc. And also is there any way to set it that it only looks for files that begin with a certain prefix, ie img? ...

Guidelines for using jQuery plugins and their dependencies

jQuery plugins often have dependencies on extrnal files: jQuery library, style sheets (CSS), images, other plugins, etc. What are the guidelines for using (and writing) jQuery plugins that would address the placement of the dependencies? In the other words, where should the required files go: under main app folders (Img, Css, JS, or what...

What Windows API function should I use to mark/unmark files/folders as protected operating system file?

What Windows API function should I use to mark/unmark files/folders as protected operating system file? ...

How do I create folders and add/update Javascript (use a jQuery framework for my site) on Google sites?

How do I create folders and add/update Javascript (use a jQuery framework for my site) on Google sites? ...

Can't create a folder with mkdir

Environment info: *Windows Vista *PHP 5.2.9-2 I'm working on a project. Let's say it's name simply "project". My php files meant for user-interaction will be found at project/file.php Now, I have a database behind this and some maps, which contain classes and configuration files in general. There is also a map for the users, in w...