I have a POSIX shared memory directory which gets blown away on reboot and needs to be recreated on occasion. An example, This creates the directory with missing write permissions for group/others: I’ve tried experimenting with the mode_t flags and even replaced “0777” with “S_IRWXU | S_IRWXG | S_IRWXO”. I do need the directory to have permission flag 0777. Answer
Tag: mkdir
Using regular expression search and replace rename on linux with directory creation
Take a list of files such as: I would like to rename these files and add some formatting similar to this: This would end up with the list of files looking like Up to here, this all works fine. The next step, and my real question is, how can I create a directory for each SubGroup in this process using
Better bash script to create directory structure
I want to create folders with plain text with a structure like: I thought about using a base command like mkdir and found that post : Bash script that creates a directory structure, but it still needs to write structure like : So I would need to change the regex used in : What bash command could I use to