alfaiop.blogg.se

How to extract files from multiple folders in one commander
How to extract files from multiple folders in one commander





Otherwise, if it's a consistent need, determine a pattern, write a solution and version control as your requirements evolve. Most of these answers are insane if this is a one-off, just struggle through manually entering file names. zip extension ( file1.zip in file1/, file2.zip in file2/, etc). Which for each file will unzip it into a directory with the same name but without the. On the last, file, press Enter and then you can finish the command such as: for f (file1.zip file2.zip) unzip -d $f:r $f If instead of pressing Enter to select an entry, you press Alt+ A, it will insert the current entry but also let you carry on selecting more files. In your ~/.zshrc (note that not all of those are relevant here and were obtained as a result of running compinstall to tune completion), then you can type:Īt that point, that will list the zip files in the current directory and let you select them with arrow keys and Enter. Zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s' Zstyle ':completion:*' prompt 'correct> ' Zstyle ':completion:*' max-errors 1 not-numeric Zstyle ':completion:*' format 'Completing %d' Zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate _prefix Setopt list_types auto_pushd no_list_beep With the zsh, shell, and provided you have: setopt auto_menu autolist correct no_list_ambiguous







How to extract files from multiple folders in one commander