diff --git a/Libclean.ps1 b/Libclean.ps1 new file mode 100644 index 0000000..866d090 --- /dev/null +++ b/Libclean.ps1 @@ -0,0 +1,32 @@ +# DeleteSpecificLogs.ps1 + +# 定义要搜索的起始目录,这里使用脚本所在的目录 +$startDirectory = Split-Path -Parent $MyInvocation.MyCommand.Path + +# 递归地搜索指定目录及其子目录,并删除匹配的文件 +Get-ChildItem -Path $startDirectory -File -Recurse | +Where-Object { $_.Name -match '.*\.log' } | +Remove-Item -Force -Verbose + +# 递归地搜索指定目录及其子目录,并删除匹配的文件 +Get-ChildItem -Path $startDirectory -File -Recurse | +Where-Object { $_.Name -match '.*\.log,[0-9]+$' } | +Remove-Item -Force -Verbose + +# 递归地搜索指定目录及其子目录,并删除匹配的文件 +Get-ChildItem -Path $startDirectory -File -Recurse | +Where-Object { $_.Name -match '.*\.jrl' } | +Remove-Item -Force -Verbose + +# 递归地搜索指定目录及其子目录,并删除匹配的文件 +Get-ChildItem -Path $startDirectory -File -Recurse | +Where-Object { $_.Name -match '.*\.jrl,[0-9]+$' } | +Remove-Item -Force -Verbose + +# 递归地搜索指定目录及其子目录,并删除匹配的文件 +Get-ChildItem -Path $startDirectory -File -Recurse | +Where-Object { $_.Name -match '.*\.tag' } | +Remove-Item -Force -Verbose + +# 输出完成信息 +Write-Host "删除特定格式的日志文件完成。" \ No newline at end of file diff --git a/other/type-c-2.pad b/other/type-c-2.pad index c56da42..7688ac3 100644 Binary files a/other/type-c-2.pad and b/other/type-c-2.pad differ diff --git a/other/type-c.dra b/other/type-c.dra index 06b8c3b..ab2eb00 100644 Binary files a/other/type-c.dra and b/other/type-c.dra differ diff --git a/other/type-c.psm b/other/type-c.psm index 5dc4cb1..5ab5598 100644 Binary files a/other/type-c.psm and b/other/type-c.psm differ diff --git a/smc/allegro.jrl b/smc/allegro.jrl deleted file mode 100644 index 596430d..0000000 --- a/smc/allegro.jrl +++ /dev/null @@ -1,17 +0,0 @@ -\t (00:00:04) allegro 17.4 S035 Windows SPB 64-bit Edition -\t (00:00:04) Journal start - Tue Mar 12 21:17:28 2024 -\t (00:00:04) Host=LAPTOP-XEROLYSK User=XerolySkinner Pid=844 CPUs=12 -\t (00:00:04) CmdLine= d:\software\cadence\spb_17.4\tools\bin\allegro.exe D:\workspace\GitHub\pcb_lib\smc\smd_5032.dra -\t (00:00:04) - (00:00:04) Loading axlcore.cxt -\t (00:00:07) Opening existing design... -\i (00:00:07) QtSignal SPBFoldDockArea FoldAreaTabWidget currentChanged "smd_5032" -\d (00:00:07) Design opened: D:/workspace/GitHub/pcb_lib/smc/smd_5032.dra -\i (00:00:07) trapsize 311 -\i (00:00:08) trapsize 319 -\i (00:00:08) trapsize 311 -\i (00:00:08) trapsize 360 -\i (00:00:08) trapsize 370 -\i (00:00:09) generaledit -\i (00:00:16) exit -\t (00:00:16) Journal end - Tue Mar 12 21:17:40 2024