Stupid Simple Trick with "ls"
-
I have three different shares that mount into three different folders in /media.. To confirm they had mounted correctly, I will list the contents of each subdirectory to make sure I see files. Well, before I did the following:
cd /media cd goflex_dallas/ ls cd .. cd goflex_landcare/ ls cd .. cd readyshare_wd4tb/ ls cd ..
However, I decided to try something new and now I can get all the info I need from one command:
cd /media ls goflex_* readyshare_wd4tb/
It outputs as the following:
goflex_dallas: Data Dump Flash Games Reformat Prep Transfers Data Dump (Maintained) Gaming Temp treeinfo.wc goflex_landcare: Data Backup (Maintained) Misc Keep StorageCraft Backups Temp Universal_Updater.exe readyshare_wd4tb/: Data Dump (Maintained) netgear_downloader StorageCraft Backups Extras $RECYCLE.BIN System Volume Information
It's a stupid simple trick but I thought I'd share!
Thanks,
A.J. -
that's kinda cool.. thanks for sharing.