Skip to content

Instantly share code, notes, and snippets.

@murven
Last active May 11, 2017 00:11
Show Gist options
  • Save murven/857e41b85df618befbba34bad5ea6f43 to your computer and use it in GitHub Desktop.
Save murven/857e41b85df618befbba34bad5ea6f43 to your computer and use it in GitHub Desktop.
Local path to URL in PowerShell
(dir *.jpg -Recurse -File).FullName.Replace("\","/").Replace("S:/Your/Local/Path/here","https://www.yourdomainhere.com/remote/path/here").Replace(" ","-") > to-file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment