update
This commit is contained in:
13
tvshow_categorize_merge
Executable file
13
tvshow_categorize_merge
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/bash
|
||||
process_merge() {
|
||||
local src="$1"
|
||||
local dst="$2"
|
||||
if [ -d "$src" ]; then
|
||||
echo "======== $src -> $dst ========"
|
||||
# echo $(pwd)
|
||||
# mkdir -p "$dst"
|
||||
# ls "$src/"*
|
||||
mv "$src/"* "$dst"
|
||||
rm -rf "$src"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user