title: Produce a file that contains names of all empty subfolders
body: <p>I want to write a script that takes a name of a folder as a command line argument and produces a file that contains the names of all subfolders with size 0 (empty subfolder). This is what I got:</p>
  
  <pre><code>#!/bin/bash
  echo "Name of a folder'
  read FOLDER
  
  for entry in "$search_dir"/*
  do 
       echo "$entry"
  done
  </code></pre>