8 Commits
Author SHA1 Message Date
Lucas Vivo 2f3a763054 adapt nextloud scan to docker 2026-10-09 17:36:49 +02:00
lucas 860100c4de backup calender/contacts script migration
move backup script to nextcloud folder
remove backup data
reconfigure calender/contacts backup
2026-10-06 21:13:06 +02:00
lucas 6fe6a54e86 move camera folder and sync 2026-10-02 10:59:07 +00:00
lucas 11f53f9548 add comment for localhost syncNC 2026-10-01 14:07:23 +00:00
lucas fd77d08ef0 add Syncfolder to syncNC 2026-10-01 14:07:21 +00:00
Lucas Faber 0d8ae83626 refactor(nextcloud): improve version and trash cleanup script
refactor(nextcloud): improve version and trash cleanup script*
- add strict bash error handling
- use trap to always restart apache- fix unsafe array expansion
- improve file deletion handling
- suppoot filenames containing spaces
- replace service with systemctl
- simpmify trashbin cleanup logic
- improve user prompts and output
- add proper root privilege verification
- reduce code duplication
2026-09-25 14:51:49 +00:00
Lucas Faber 3168e3928b feat(sync): refactor Nextcloud sync script with retries and argument handling
feat(sync): refactor Nextcloud sync script with retries and argument
handling

- Add centralized sync_directory() function
- Add retry logic with configurable attempts and delay
- Improve argument parsing and help output
- Add validation for selected sync targets
- Add support for sync marker removal (-del)
- Add logging abstraction with silent/live output modes
- Add dependency and credential file checks
- Prevent concurrent nextcloudcmd executions
- Improve error handling and script structure
- Add version flag support
- Standardize synchronization workflow for all folders

asd
2026-09-25 14:51:49 +00:00
Lucas Faber e5629b73ae refactor(nextcloud): improve OCC maintenance script
refactor(nextcloud): improve OCC maintenance script

- add strict bash error handling
- fix log file initialization for multimedia scan
- fix incorrect completion log entries
- add automatic apache restart via trap
- improve variable naming and quoting
- add maintenance script documentation
- improve timestamp format
- separate user-specific and summary logs
- preserve multiline OCC output
- remove obsolete email functionality
- improve overall readability and reliability

asd
2026-09-25 12:15:40 +02:00