Skip to content

Instantly share code, notes, and snippets.

@seeni-dev
Created September 21, 2018 09:48
Show Gist options
  • Save seeni-dev/e1e3729f312b08cb2642ecd43e165493 to your computer and use it in GitHub Desktop.
Save seeni-dev/e1e3729f312b08cb2642ecd43e165493 to your computer and use it in GitHub Desktop.
for i in `seq 5` #consider that we have 5 seasons
do
mkdir S$i; # creating directory
mv *S$i* S$i; #moving the files
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment