CODES
NEW
ADD
SaveCode.net
Ranking
Extension
count the number of files in a directory / sub-directories
Home
/
Codes
/
bash
0
Count the number of files in a Directory / Sub-Directories
Copy
bash
linux
directory
count
Favourite
Share
By
Keith Fadel
at Apr 27 2022
Related code examples
Convert encoding of all matching files in directory and sub-directories
Count files and directories
Count files in a directory
UNIX: chmod the current directory, and all sub directories and files
bash command to find the number of files in a directory
bash count files in directory recursively matchingattern
count htm/html files in the directory (recursive)
zsh bash count directories
bash count number of arguments
SSH - Count files
Recursively chmod directories or files
bash make multiple directories in current directory
Show only big files and directories at current directory and subdirs
bash how many files in a directory
Batch rename files in directory
bash how to print the list of files in a directory ls
Search for keyword in files inside of directory
bash copy files but exclude some directories
fix permissions for files and directories
Changing permissions recursively by files and directories
Add CVS Directories and Files recursively
Setting Files to 755 and Directories to 644
UNIX: remove files and directories recursively
UNIX: Recursive chmod Directories or Files
bash count the number of lines that meet condition
bash print files in directory with path
bash loop over files in directory
Bash (Command Line): Loop through directories in specified location, replacing directories in current directory (with backup)
Delete all files of a directory which contains a specific contents, no mather the size of the directory
make all files (not directories) not executable
get list of directories bash
List of directories (Unix) without the current directory shortcut and just the names
bash perform operation on all files in directory
Delete All .pyc Files in Directory on OSX
Copy directory without .svn files
Copy directory structure (without files)
Merge Directories
Command line delete matching files and directories recursively
Shell : How to rename/mv large number of files
Create file with a list of recursive directories
Count files (with specific filetype) on linux console
Find files modified in last 24 hours in directory
Change password in CVS directory (CVSROOT in Root files).
bash how to generate md5 checksums on all files in a directory
bash list all files in directory and subdirectories
add all files in a directory to svn command line
Count results of find
bash remove random files from directory
Recursively delete .LCK files from directory.
Download All Files from an Online Directory
Remove .SVN files from a directory structure
Batch download files from a web directory
Create new Apache VirtualHost files and /var/www directories
UNIX: Copy Directories
List only directories
List directories by size
Recursively find and list the last modified files in a directory
bash count occurrences of string in array
count occurrences of word in unix bash
Group rename of files
bash how to create directories in all subdirectories
find the largest directories in a Unix shell
Batch remove whitespace in all the files in directory and replace with a dash "-"
Copy 2 directories with rsync and strip .svn - .cvs directories
bash print count of unique words in column
Get Subversion Revision of Directory
clean svn out of directory
find the largest top 10 files and directories on a Linux / UNIX / BSD filesystem
bash create nested directories
loop through directories bash
Recursively remove svn directories
Delete all .svn directories
Patch between different directories
Recursively remove .svn directories
Chmod directories recursively to 755
Compare directories via diff
Correct Number of Parameters
Number of Connections by IP
Remove all ._ files from directory and its children
bash move a list of files
Creating links in different directories (Linux/UNIX)
get number of elements in a dir bash
how to change home directory of git bash
unzip: all files, matching a pattern from A to B directory
SVN Info Per Individual Directories
Recursively remove all .svn directories
Useful ubuntu server command & directories
grep a pattern omitting svn directories
find directories that don't contain a file
Rar directories excluding .svn folders
add file to all directories recursively
Sort Directories by Size (Human Readable)
strip text from the middle of all filenames in a directory
bash files open instead of ecxecuting
bash iterate over list of files
Make an array of files you find
Email list of files over 10MB
move files with in bash
Filter files in place
Linux: Find in Files
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1