From 49e7bbbeae8954b0402fb2ac0a2c7ad0b908e996 Mon Sep 17 00:00:00 2001 From: jangsoopark Date: Sun, 1 Aug 2021 01:50:58 +0900 Subject: [PATCH] v2.2.0 --- dataset/eoc-1-t72-132/.gitkeep | 0 dataset/eoc-1-t72-a64/.gitkeep | 0 dataset/eoc-2-cv/.gitkeep | 0 dataset/eoc-2-cv/raw/rename.py | 9 +++++++++ dataset/eoc-2-vv/.gitkeep | 0 dataset/eoc-2-vv/raw/rename.py | 9 +++++++++ 6 files changed, 18 insertions(+) create mode 100644 dataset/eoc-1-t72-132/.gitkeep create mode 100644 dataset/eoc-1-t72-a64/.gitkeep create mode 100644 dataset/eoc-2-cv/.gitkeep create mode 100644 dataset/eoc-2-cv/raw/rename.py create mode 100644 dataset/eoc-2-vv/.gitkeep create mode 100644 dataset/eoc-2-vv/raw/rename.py diff --git a/dataset/eoc-1-t72-132/.gitkeep b/dataset/eoc-1-t72-132/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/dataset/eoc-1-t72-a64/.gitkeep b/dataset/eoc-1-t72-a64/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/dataset/eoc-2-cv/.gitkeep b/dataset/eoc-2-cv/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/dataset/eoc-2-cv/raw/rename.py b/dataset/eoc-2-cv/raw/rename.py new file mode 100644 index 0000000..c165ebe --- /dev/null +++ b/dataset/eoc-2-cv/raw/rename.py @@ -0,0 +1,9 @@ +import glob +import os + + +target_list = glob.glob('./*/*') + +for name in target_list: + print(name, name.replace('_', '')) + os.rename(name, name.replace('_', '')) diff --git a/dataset/eoc-2-vv/.gitkeep b/dataset/eoc-2-vv/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/dataset/eoc-2-vv/raw/rename.py b/dataset/eoc-2-vv/raw/rename.py new file mode 100644 index 0000000..c165ebe --- /dev/null +++ b/dataset/eoc-2-vv/raw/rename.py @@ -0,0 +1,9 @@ +import glob +import os + + +target_list = glob.glob('./*/*') + +for name in target_list: + print(name, name.replace('_', '')) + os.rename(name, name.replace('_', ''))