mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Support alt-links for encrypted files (#34)
This commit is contained in:
parent
12a5179e8a
commit
044c6e4d62
2
yadm
2
yadm
@ -125,7 +125,7 @@ function alt() {
|
||||
#; for every file which matches the above regex, create a symlink
|
||||
last_linked=''
|
||||
local IFS=$'\n'
|
||||
for tracked_file in $(git ls-files | sort); do
|
||||
for tracked_file in $(git ls-files | sort) $(cat "$YADM_ENCRYPT" 2>/dev/null); do
|
||||
tracked_file="$YADM_WORK/$tracked_file"
|
||||
#; process both the path, and it's parent directory
|
||||
for alt_path in "$tracked_file" "${tracked_file%/*}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user