Skip to main content

All Questions

Tagged with
0 votes
2 answers
34 views

move contents of directory to static named subdirectory

I have directories of media structured as followed: ~ $ tree baz baz ├── Ajin [Season 1] │   ├── Ajin Demi-Human - 01 - A Topic That Has Nothing to Do with Us.mkv │   ├── Ajin Demi-Human - 02 - Why Is ...
anonymous's user avatar
1 vote
1 answer
99 views

Create a folder for each file in a folder without the folder itself

| folderA1 | fileA11, fileA12, ... folderA | folderA2 | fileA21, fileA22... | ... | ... I want to make a copy of it represented as: | folderA1 | folderA11, folderA12, ... ...
Pushpa's user avatar
  • 113
2 votes
1 answer
376 views

IBM AIX find src_dir -type d -exec mkdir -p "dst_dir/{}" \; doesn't work

I'm trying to copy directory structure from src_dir to dst_dir. On my CentOS 6.4 Linux Bash this command works fine. [localhost]$ find src_dir src_dir src_dir/dir2 src_dir/dir2/dir4 ...
Daniel Yun's user avatar