I have 2 folder - folder1 and folder2.Im in folder1 and need to execute a shellscript that will search for all the csv files in folder2..The current script check *.csv in the current folder..how to point to folder2?for file in *.csvdo  split -l 50000 -d -a 4  $file $filedone
Checking files in a different folder using for loop
shell script