From 16cc6eb25ac5f5badb02c1b93b669dc3cfeec2cd Mon Sep 17 00:00:00 2001 From: Zastian Pretorius Date: Sat, 23 Oct 2021 21:39:04 +0200 Subject: [PATCH] writes the name of the files it moves. --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 1ed4ca4..7d23f55 100644 --- a/main.cpp +++ b/main.cpp @@ -139,6 +139,7 @@ void sortPath(std::string path, std::vector Paths) for (int x = 0; x < Paths[i].extentions.size(); x++) { if(Paths[i].extentions[x] == file.path().extension()) { + std::cout << file.path().string() << std::endl; fs::rename(file.path().string(), Paths[i].path + file.path().filename().string()); } }