Skip to content
Ravi J edited this page Dec 9, 2021 · 4 revisions

Write all content from directory table to a file and make changes globally

# step-1
# write all directory aliases to file
qkw -wfA /tmp/dir.data

# step-2
# inplace edit the file with the regex
sed -i /<old-regex>/<new-regex>/g /tmp/dir.data
Clone this wiki locally