Questions tagged [dirname]
138 questions
-1
votes
2 answers
Bash grabbing directory name to use in loop
i want to grab the names of directorys to create a tar.gz file for each
for example, all directorys with beginning with A:
count = 10
for ((k = 1 ; k < $count ; k++));
do
tar -cf ADIRNAME.tar.gz ADIRNAME
sleep 1
done
how can i do this?

mostworld77
- 427
- 4
- 7
- 27
-2
votes
1 answer
how skip some specific files in multiple subfolders in matlab?
I need to skip some specific files in different sub-folders. So I tried by line "if filename" in the snippet that if the filename not contains raw, info, do some operations, but it doesn't work. I really appreciate if someone can point me in the…

AI_NA
- 336
- 2
- 5
- 20
-2
votes
1 answer
Webpack reports error: __diranme is not defined
I'm new to NodeJS and webpack.
I'm following a tutorial on webpack and when have to create
webpack.config.js and run webpack -c webpack.config.js it returns:
webpack -c webpack.config.js
/home/arma/bin/nodejs/webpack.config.js:15
root:…

starbuck
- 171
- 3
- 12