Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba5ad7f3a8 | |||
| f6d783e43b |
Generated
-10
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="PYTHON_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager">
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="jdk" jdkName="Python 3.12 (Recepty)" jdkType="Python SDK" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
Generated
-6
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="Black">
|
|
||||||
<option name="sdkName" value="Python 3.12 (Recepty)" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
Generated
-68
@@ -1,68 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="AutoImportSettings">
|
|
||||||
<option name="autoReloadType" value="SELECTIVE" />
|
|
||||||
</component>
|
|
||||||
<component name="ChangeListManager">
|
|
||||||
<list default="true" id="3e4ebddd-9da1-4621-83c6-883b13bef42a" name="Changes" comment="">
|
|
||||||
<change afterPath="$PROJECT_DIR$/.idea/Recepty.iml" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/01ReceptyTest.py" afterDir="false" />
|
|
||||||
</list>
|
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
||||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
||||||
</component>
|
|
||||||
<component name="FileTemplateManagerImpl">
|
|
||||||
<option name="RECENT_TEMPLATES">
|
|
||||||
<list>
|
|
||||||
<option value="Python Script" />
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
<component name="Git.Settings">
|
|
||||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
||||||
</component>
|
|
||||||
<component name="ProjectColorInfo">{
|
|
||||||
"associatedIndex": 4
|
|
||||||
}</component>
|
|
||||||
<component name="ProjectId" id="33xT3kjvJ61SNRZSLuJylhuB3LP" />
|
|
||||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
|
||||||
<OptionsSetting value="false" id="Update" />
|
|
||||||
<ConfirmationsSetting value="2" id="Add" />
|
|
||||||
</component>
|
|
||||||
<component name="ProjectViewState">
|
|
||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
|
||||||
<option name="showLibraryContents" value="true" />
|
|
||||||
</component>
|
|
||||||
<component name="PropertiesComponent">{
|
|
||||||
"keyToString": {
|
|
||||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
||||||
"RunOnceActivity.git.unshallow": "true",
|
|
||||||
"git-widget-placeholder": "master",
|
|
||||||
"ignore.virus.scanning.warn.message": "true"
|
|
||||||
}
|
|
||||||
}</component>
|
|
||||||
<component name="SharedIndexes">
|
|
||||||
<attachedChunks>
|
|
||||||
<set>
|
|
||||||
<option value="bundled-python-sdk-4f4e415b4190-aa17d162503b-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-243.26053.29" />
|
|
||||||
</set>
|
|
||||||
</attachedChunks>
|
|
||||||
</component>
|
|
||||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
||||||
<component name="TaskManager">
|
|
||||||
<task active="true" id="Default" summary="Default task">
|
|
||||||
<changelist id="3e4ebddd-9da1-4621-83c6-883b13bef42a" name="Changes" comment="" />
|
|
||||||
<created>1760257527088</created>
|
|
||||||
<option name="number" value="Default" />
|
|
||||||
<option name="presentableId" value="Default" />
|
|
||||||
<updated>1760257527088</updated>
|
|
||||||
</task>
|
|
||||||
<servers />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
# Organizace eRecept dokumentace do podsložek podle data
|
||||||
|
$sourceDir = "U:\Dropbox\!!!Days\Downloads Z230\eRecept"
|
||||||
|
|
||||||
|
Get-ChildItem -Path $sourceDir -File | ForEach-Object {
|
||||||
|
$file = $_
|
||||||
|
# Vyber datum ze začátku názvu souboru (formát YYYY-MM-DD)
|
||||||
|
if ($file.Name -match "^(\d{4}-\d{2}-\d{2})") {
|
||||||
|
$date = $matches[1]
|
||||||
|
$targetDir = Join-Path $sourceDir $date
|
||||||
|
|
||||||
|
# Vytvoř složku pokud neexistuje
|
||||||
|
if (-not (Test-Path $targetDir)) {
|
||||||
|
New-Item -ItemType Directory -Path $targetDir | Out-Null
|
||||||
|
Write-Host "Vytvořena složka: $date"
|
||||||
|
}
|
||||||
|
|
||||||
|
# ZIP soubory rozbal, ostatní přesuň
|
||||||
|
if ($file.Extension -eq ".zip") {
|
||||||
|
Write-Host "Rozbaluji: $($file.Name) -> $date\"
|
||||||
|
Expand-Archive -Path $file.FullName -DestinationPath $targetDir -Force
|
||||||
|
Remove-Item $file.FullName
|
||||||
|
} else {
|
||||||
|
Write-Host "Přesouvám: $($file.Name) -> $date\"
|
||||||
|
Move-Item -Path $file.FullName -Destination $targetDir -Force
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
Write-Host "Přeskakuji (bez data): $($file.Name)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Host "`nHotovo!"
|
||||||
Reference in New Issue
Block a user