visymlinks - Bulk edit symlinks names and targets



NAME

visymlinks - Bulk edit symlinks names and targets


SYNOPSIS

visymlinks [PATH [PATH [...]]]


DESCRIPTION

Open up your default editor (see sensible-editor(1)) to edit the targets of PATH symlinks given in command arguments as well as their own filenames. If no PATH given, all symlinks in the current working directory will be loaded into the editor. Once finished editing, visymlinks(1) changes the target of those symlinks which were edited.

Contrary to visymlinks(1)'s relative, vidir(1), if a PATH symlink is removed in the editor, it won't be removed from the filesystem.


RETURN VALUE

Returns zero if everything went well.

Returns the exit status of the editor if it was not zero (also won't change symlinks).

Returns the error code of symlink(2) if any of such calls failed.


LIMITATIONS

Special characters disallowed in PATH filenames and symlinks targets: TAB and LF linefeed (newline).


SEE ALSO

vidir(1) from moreutils, vifiles(1)

 visymlinks - Bulk edit symlinks names and targets