Top "Directory" questions

A directory or folder is a virtual container within a digital file system, in which groups of computer files and other directories can be kept and organized.

Copy files from one directory into an existing directory

In bash I need to do this: take all files in a directory copy them into an existing directory How …

bash file directory copy cp
How to use Bash to create a folder if it doesn't already exist?

#!/bin/bash if [!-d /home/mlzboy/b2c2/shared/db]; then mkdir -p /home/mlzboy/b2c2/shared/db; fi; …

bash directory
How to get a path to the desktop for current user in C#?

How do I get a path to the desktop for current user in C#? The only thing I could find …

c# windows filesystems directory
How to change MySQL data directory?

Is it possible to change my default MySQL data directory to another path? Will I be able to access the …

mysql directory default
How to change current working directory using a batch file

I need some help in writing a batch file. I have a path stored in a variable root as follows: …

batch-file directory command-prompt drive
How to quietly remove a directory with content in PowerShell

Using PowerShell, is it possible to remove some directory that contains files without prompting to confirm action?

powershell directory
Check folder size in Bash

I'm trying to write a script that will calculate a directory size and if the size is less than 10GB, …

bash shell directory
How to pull specific directory with git

I have a project with git, and I just want to clone or pull a specific directory, like myproject/javascript …

git directory pull
How do I find files that do not contain a given string pattern?

How do I find out the files in the current directory which do not contain the word foo (using grep)?

file grep directory find
node.js require all files in a folder?

How do I require all files in a folder in node.js? need something like: files.forEach(function (v,k){ // …

javascript node.js directory require