diff --git a/config/iso_copy.desktop b/config/iso_copy.desktop new file mode 100644 index 0000000..4dafeab --- /dev/null +++ b/config/iso_copy.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=ISOs copy +Exec=iso_copy.sh +Icon=copy.svg +Comment=Copy all ISOs to target dir +Categories=System;Virtualization;Settings; diff --git a/config/iso_copy.sh b/config/iso_copy.sh new file mode 100755 index 0000000..6b1d5e8 --- /dev/null +++ b/config/iso_copy.sh @@ -0,0 +1,9 @@ +#!/usr/bin/bash + +CONFIG_DIR="$HOME"/.config/distrohopper +source "$CONFIG_DIR"/distrohopper.conf +yad --file --directory > target +echo "It will take while..." +cd "$VMS_DIR" || exit 1 +cp */*.iso "$target" +echo "Done"