Running a command on all files in Linux

view story

http://superuser.com – Say I want to run a program or transfer files over the network using scp, and I create a screen and run those commands in the screen using * to indicate that I want the command to apply to all files in that folder. Does the command only work on the files present at the time when the command was executed, or will it work on files that I later move/copy into the same folder after I have executed the command? (HowTos)