» Home » directories » Page 1
How to redirect all child directories to a single directories - over 240,000 directories to re-point
by rainy in Web Design

So this maybe simple so sorry if its obvious, and I've search for the answer already but not real answer came out.


I've just taken over a new site, and it has a game on it which was made in Flash 4.1 so its been taken off now. But each users results had a URL so they could share it, i.e.


/games/thegame/users/#useridnumber#/


Now Google is picking up a seriousl


Java JFileChooser with Filter to supposedly display ONLY directories fail to show just directories
by allisolm in Development Tools & Services

(Thanks in advance! Please let me know if you need more info. Sample code at the bottom.)


Problem I'm trying to solve:


I'm trying to get this JFileChooser object to display only directories (and not files), through the use of a javax.swing.filechooser.FileFilter object that has this in the accept(File file) overridden method: return file.isDirectory();. H


List files from directories and sub directories in java including only partial file paths
by codelurker in Java

I need to get the paths of files and their parent directories in java from a given directory but not including it.


So for example, If my method was given the path: /home/user/test as a path it would return the paths of all files in that directory and under it.


So if /home/user/test had the sub folders: /subdir1 and /subdir2


How to recurse directory tree to operate on lower most directories first and highest directories last?
by Floubadour in Network & Servers

I am needing to write a script that will move files to a destination location (off volume), remove the original file and directories and then move them back to their original location while preserving all attributes.


The concept is rather simple algorithmically, however the real hangup I'm having is recursing the tree properly when I'm using rsync.


So far it appears that


Django makemessages i18n for specific directories or exclude directories
by Colin Henry in Programming Languages

My site structure looks like this:


project
--apps
----app1
----app2
--docs
--templates
----module1
----module2
----module3

how can i run


django-admin.py makemessages --locale=en

on all apps and template dirs but leave out module1 and module3 ?


How can i find a function which is included in multiple files from directories and sub directories?
by FrankSaucedo in Programming Languages

Let's say i have this php function called from multiple php files


do_something($var);


How can i find the files from which the function is called?


later edit: i want to do this on windows


bash script create multiple directories within directories
by New Jersey in Network & Servers

I want to create a directory structure like this in nix:


mkdir -p 1,2,3,4,5,6,7,8,9 and within each of these folders I want folders 1,2,3,4,5,6,7,8,9


I have started to write a simple loop like this (all the way up to folder 2) but this seems inefficient.


#!/usr/bin/env bash
for i in 1 2 4 5 6 7 8 9; do mkdir -p 1/{1,2,3,4,

Nested While loop that creates directories with sub directories in Python
by loki8481 in Development Tools & Services

I'm trying to write a nested while loop that will create n number of folders with n number of sub-directories. The problem with my current code is that the first folder created does not contain the sub-directories. Only the 2nd directory made contains the sub-directories. My goal is to write a program that runs a parametric sweep with groundwater modeling software, and I need these directories


How to use a PHP includes across multiple directories/sub directories with relative paths
by Milindur in PHP

I'm having difficulty with paths in a cms system I'm attempting to build, I've basically got a folder with my header.php and footer.php files inside.


These are included in index.php and work fine. But then when I attempt to use the same includes in a file within my admin sub directory, the images and CSS are broken, obviously because the relative path is now wrong.


So my


How do I view application directories and directories that begin with dot in Netbeans on OSX?
by domis in Programming Languages

How do I view directories that begin with dot and how do I browse application directories in Netbeans?


I can't seem to view directories that begin with a "dot" through the open file dialog in Netbeans. Similarly, I can't browse any application directory e.g. File->Open File->"someapp.app". Attempting to browse "someapp.app" gives the error "someapp.app is a directory".


A


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .