Problem with FileUtils.mkdir_p deleting folder contents

66 views Asked by At

My "folder 3" contains "Folder 4A", but when I made a new folder within it, "Folder 4B", my "Folder 4A", and all it's contents got deleted. What is wrong with my code, or is this normal for FileUtils.mkdir_p

FileUtils.mkdir_p "/Users/Me/Folder 1/Folder 2/Folder 3/Folder 4B"

0

There are 0 answers