diff --git a/.gitignore b/.gitignore index 0635f20..1d4006d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,2 @@ -# 테스트경로 -testA/ -testB/ - -# 실행파일 +.idea backup diff --git a/.idea/modules.xml b/.idea/modules.xml index 44ab3ba..13e9f6b 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/backup.iml b/.idea/simple_backup.iml similarity index 100% rename from .idea/backup.iml rename to .idea/simple_backup.iml diff --git a/cmd/main.go b/cmd/main.go index 70869d7..eae2c74 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -60,9 +60,9 @@ func showHelp() { 기존 파일 존재 시 강제로 덮어씀 예시: - backup /source /backup --group-by day --compare hash - backup /home/user/docs /backup/docs -i -v - backup /data /backup -d --force + backup /source /simple_backup --group-by day --compare hash + backup /home/user/docs /simple_backup/docs -i -v + backup /data /simple_backup -d --force 자세한 정보: https://github.com/yourusername/backup` diff --git a/internal/path/path.go b/internal/path/path.go index 006a05f..70cd1a6 100644 --- a/internal/path/path.go +++ b/internal/path/path.go @@ -9,11 +9,11 @@ import ( "git.lhk.o-r.kr/freerer2/simple_backup/internal/constants" ) -// GetGroupByFolder generates a backup path based on the groupBy option and time. +// GetGroupByFolder generates a simple_backup path based on the groupBy option and time. // If groupBy is invalid or empty, it returns the basePath unchanged. // // Parameters: -// - basePath: the base directory path for backup +// - basePath: the base directory path for simple_backup // - groupBy: grouping option (year, mon, day, hour, min, sec) // - t: time to use for path generation // diff --git a/testA/s.go b/testA/s.go deleted file mode 100644 index 4ea0069..0000000 --- a/testA/s.go +++ /dev/null @@ -1 +0,0 @@ -package testA