enhance file structure for backups
This commit is contained in:
		| @@ -27,25 +27,19 @@ done < config/workspace.conf | ||||
| ####### file structure ######### | ||||
| USER_DIRS=( | ||||
| 	##### xdg ##### | ||||
| 	~/.config	# bkp=weak | ||||
| 	~/.local/bin	# bkp=weak | ||||
| 	~/.local/share	# bkp=weak | ||||
| 	~/.config		# bkp | ||||
| 	~/.local/bin	# bkp | ||||
| 	~/.local/share	# bkp | ||||
| 	~/.local/state  | ||||
| 	~/.cache | ||||
| 	# app | ||||
| 	~/.local/state/sway | ||||
| 	################ | ||||
| 	##### user ##### | ||||
| 	# core knowledge base  | ||||
| 	~/know		# bkp=true,roam=true | ||||
| 	# large blobs for knowledge base | ||||
| 	~/know-lfs	# Large blobs for knowledge base. bkp=weak | ||||
| 	# temp files with manual bulk cleanup | ||||
| 	~/tmp | ||||
| 	# downloads | ||||
| 	~/dl		# bkp=weak | ||||
| 	# development - external vcs, tons of deps, etc. | ||||
| 	~/dev		# bkp=weak | ||||
| 	~/know		# knowledge base; roam (git) | ||||
| 	~/dev		# projects, version controlled; roam (git) | ||||
| 	~/lfs		# large files | ||||
| 	~/tmp		# temp files, maybe downloads | ||||
| 	################ | ||||
| ) | ||||
| mkdir -p "${USER_DIRS[@]}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user