Skip to main content

Questions tagged [mkdir]

9 votes
5 answers
2k views

I created a 'cron' subdirectory in /var/log/ . It is: /var/log/cron Within /var/log/cron I've created numerous sub-directories to store my log files for cron jobs. I am wondering if there is a way ...
Ron Piggott's user avatar
0 votes
1 answer
163 views

I have a working folder with all output files generated from command. When I tried to re-coding one of my file, after a few attempts, I realized the files in my folder left only 1/3 of them! I first ...
web's user avatar
  • 193
1 vote
1 answer
1k views

On an embedded device based on Yocto Linux my rootfs is RO, while I have an additional partition for RW data. Now I want to automount at boot an overlay onto /etc stored on a different partition. Here ...
Martin H.'s user avatar
  • 211
1 vote
2 answers
167 views

I'd like to create a new directory that looks like /dir1/dir2/dir3/dir4 but I can't. If I create the directories one by one from the parent and new parent directories, everything works: lm@debian:~$ ...
ant's user avatar
  • 27
0 votes
0 answers
37 views

Why did this mkdir not work properly? The folder is strangely named as {a. mkdir -p myfile/{a/a{1..10}, b/b{10..30}, c/c{1,2,3}}
internet's user avatar
  • 101
1 vote
1 answer
700 views

I'm setting up a new webserver on Debian. As my previous install had everything located in /srv/www I want to use the same setup to avoid rewriting a bunch of config files. However executing mkdir /...
user avatar
0 votes
0 answers
2k views

I have encountered a strange problem where the mkdir -p command fails to create a directory and returns the following error message: [root@202 ~]# pwd /root [root@202 ~]# mkdir -p a/b/c mkdir: cannot ...
Mer's user avatar
  • 9
-2 votes
1 answer
942 views

i want to create directory called "A" inside my home directory but i don't know if such a directory already exists. i want to write a command that creates the directory if it does not exist. ...
bara's user avatar
  • 19
2 votes
1 answer
425 views

I am pretty sure it is a stupid mistake but I can't seem to figure it out by myself, so please have a look. I set up an ACL for the current folder like so: zigbee2mqtt@nuc:/tmp/folder$ getfacl . # ...
milkpirate's user avatar
0 votes
2 answers
5k views

I know its a big classical but I didn't found the exact situation that concerns me I need a mkdir+mv command that can be invoked like that : mvdir /home/user/Documents/irs.pdf /mnt/work/45/223/insight/...
aaa's user avatar
  • 187
0 votes
1 answer
237 views

What specific changes need to be made in the commands below in order to use a variable username and a variable user_home to create a subdirectory within the current user's home and then to change ...
CodeMed's user avatar
  • 5,387
0 votes
1 answer
36 views

size: 58 GB contents: unknown device: /dev/sda4 partition type: basic data When I ran the format, I selected the type which I expected result in type of Linux. I found a similar issue from 2019, but ...
user546640's user avatar
0 votes
0 answers
496 views

I am trying to create a directory for a movie on my Plex media server and ran into a strange issue. When I try to make a directory with the movie name ("Borat: Cultural Learnings of America for ...
Saar Koren's user avatar
1 vote
1 answer
1k views

My question is a bit different than: Create directory using filenames and move the files to its repective folder Since in the same folder I have two similar copy of each file like: 001.txt and 001(1)....
Maxfield's user avatar
  • 171
0 votes
1 answer
373 views

I am trying to make a photo organizer with a zsh shell script. But i am having trouble creating sub directories within each main directory(based on date). Currently the script starts from a folder i ...
Mathijs's user avatar

15 30 50 per page
1
2 3 4 5
11