Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash for loop find

#!/bin/bash

find . -name *.mp3 |
while read filename
do
    echo "$filename"    # ... or any other command using $filename
done
Comment

PREVIOUS NEXT
Code Example
Shell :: pm2 run next js 
Shell :: how to upgrade docker-compose to latest version 
Shell :: how to install vagrant on linux 
Shell :: how to uninstall iredmail 
Shell :: ubuntu 20.04 pip2 install 
Shell :: show public ip ubuntu 
Shell :: uninstall vmware workstation 
Shell :: mui textfield disable autocomplete 
Shell :: save git password and username once 
Shell :: bash for file in 
Shell :: generate py file from ui 
Shell :: install openjdk ubuntu 
Shell :: linux see battery state 
Shell :: update r packages from anaconda 
Shell :: ubuntu ifconfig get only ip address 
Shell :: mongodb show database command linux 
Shell :: kubectl connect eks 
Shell :: gitignore .idea 
Shell :: macos start avd cmd 
Shell :: choco install python 
Shell :: fish disable greeting 
Shell :: github remove env file from history 
Shell :: failed to start daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid 
Shell :: force to kill any process port ubuntu 
Shell :: git change email 
Shell :: git create new tag 
Shell :: install git win terminal 
Shell :: how to run an appimage in linux 
Shell :: install semantic ui react 
Shell :: upload new repo to git 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =