[dolphin] [Bug 425074] Dolphin crashes while removing several folders with 2500 files each one

Rafael Linux User bugzilla_noreply at kde.org
Thu Aug 6 13:14:54 BST 2020


https://bugs.kde.org/show_bug.cgi?id=425074

Rafael Linux User <rafael.linux.user at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rafael.linux.user at gmail.com

--- Comment #1 from Rafael Linux User <rafael.linux.user at gmail.com> ---
I was trying to erase with Shift+Supr the root folder created by this own
script:

#!/bin/bash
# This script will create 4 folders with 10000 DISTINCT  empty files each one

ImagesRootFolder='Fractal_images_folder'
mkdir $ImagesRootFolder
echo "Creating '$ImagesRootFolder' folder"
for Level_1 in {A..D}
do
    Folder_Level_1="$ImagesRootFolder/Folder_10k_images_$Level_1"
    echo "Creating '$Folder_Level_1' subfolder "
    mkdir $Folder_Level_1
    for Level_2 in {1..4}
    do
        Folder_Level_2="$Folder_Level_1/$Level_2"
        echo -n "Creating '$Folder_Level_2' subfolder and generating 25000
images ...  "
        mkdir $Folder_Level_2
        i=1
        sp="/-\|"
        for value in {1..2500} 
        do 
            printf "\b${sp:i++%${#sp}:1}"
            Image_filename=Image_$Level_1$Level_2_$(printf "%05d" $value)
             touch $Folder_Level_2/$Image_filename.jpg
            convert -size $(shuf -i 500-1024 -n 1)x$(shuf -i 500-1024 -n 1)
plasma:fractal "$Folder_Level_2/$Image_filename.jpg"
        done
        echo " created"
    done
done
echo "Process finished"

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list