Advertisement
EvEnSGRIANch

sort.sh windows version

May 4th, 2025
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.34 KB | None | 0 0
  1. set -x
  2. while read -r tag; do
  3.     mkdir "$tag";
  4.     rclip --no-indexing -t 100 "$tag" |
  5.     tail -n+3 |
  6.     awk '$1>0.25{print $0}' |
  7.     while read -r line; do
  8.         echo tag $tag;
  9.         echo line $line;
  10.         filename=$(echo $line | sed 's/......//' | tr -d '"');
  11.         echo $filename;
  12.         cp "$filename" "$tag";
  13.         echo $filename >> tagged.txt;
  14.     done;
  15. done < tags.txt
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement