Rename files to instead being in sub-directories, have the year as part of the filename
问题 Create a copy of the CarItems tree called CarItemsCopy where all files, instead of being in directories named after years, rather have the year as part of the filename, and the year directories are entirely absent. Instead of some of these examples: CarItems/Chevrolet/Chevelle/2011/parts.txt CarItems/Chevrolet/Chevelle/1982/parts.txt CarItems/Chevrolet/Volt/1994/parts.txt it should look like this: CarItemsCopy/Chevrolet/Chevelle/parts-2011.txt CarItems/Chevrolet/Chevelle/parts-1982.txt