cp -r /home/gus/index /home/gus/index.new /home/gus/.poetry/bin/poetry run build_index -d rm -rf /home/gus/index.old mv /home/gus/index /home/gus/index.old mv /home/gus/index.new /home/gus/index