This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.alibaba.fastjson.JSON; | |
import com.google.gson.Gson; | |
import java.sql.Timestamp; | |
import java.text.SimpleDateFormat; | |
import java.time.*; | |
import java.time.format.DateTimeFormatter; | |
import java.util.Date; | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
/** | |
* 批量修改文件名 | |
* | |
* @author zzs | |
*/ | |
public class ChangeFileName { | |
public static void main(String[] args) { | |
// 修改该目录下的文件 |
NewerOlder