mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
ventoy support: copy all ISOs to target dir
This commit is contained in:
parent
d91ec144cf
commit
bb164b7380
2 changed files with 16 additions and 0 deletions
7
config/iso_copy.desktop
Normal file
7
config/iso_copy.desktop
Normal file
|
@ -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;
|
9
config/iso_copy.sh
Executable file
9
config/iso_copy.sh
Executable file
|
@ -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"
|
Loading…
Reference in a new issue