Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup and restore links like usual #40

Open
bes-internal opened this issue May 27, 2023 · 0 comments
Open

Backup and restore links like usual #40

bes-internal opened this issue May 27, 2023 · 0 comments

Comments

@bes-internal
Copy link

Why are links skipped in 430? We can (and should) move them like normal files

dfm/dfm

Lines 428 to 440 in b441043

DEBUG(" Working on $direntry");
if ( !-l $direntry ) {
if ( -e $direntry ) {
INFO(" Backing up $direntry.");
system("mv '$direntry' '$backup_dir/$direntry'")
if !$opts{'dry-run'};
}
INFO(" Symlinking $direntry ($symlink_base/$direntry).");
my_symlink( "$symlink_base/$direntry", "$direntry" )
if !$opts{'dry-run'};
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant