Advertisement
Guest User

yasal README.md

a guest
Oct 6th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. # yasal - Yet Another Save As Link
  2.  
  3. ## Description
  4.  
  5. Saves an internet link externally as a Windows Shortcut File `*.url` a UNIX Desktop file `*.desktop`
  6.  
  7. yasal is mostly inspirated by the firefox plugin [SaveLink](https://addons.mozilla.org/en-US/firefox/addon/savelink/)
  8.  
  9. .desktop file are named with the given url page title,
  10. the output file will be placed in the same folder if not specified
  11.  
  12. ## Usage
  13.  
  14. ```
  15. usage: yasal [-h] [-f FILE | -r RECURSIVE] [-o OUT] [-i]
  16.  
  17. optional arguments:
  18. -h, --help show this help message and exit
  19. -f FILE, --file FILE specify file FILE to be convert
  20. -r RECURSIVE, --recursive RECURSIVE
  21. recursive mode, will convert all .url file in
  22. directory RECURSIVE
  23. -o OUT, --out OUT specify output directory OUT for .desktop files
  24. -i, --icontexthtml set the .desktop icon field to 'text-html' default is
  25. 'firefox'
  26. ```
  27.  
  28. ## Examples
  29.  
  30. convert a single file, result is stored in the input file same directory:
  31.  
  32. ```
  33. yasal -f /path/to/file.url
  34. ```
  35.  
  36. convert all files in a given folder and store result in another given folder:
  37.  
  38. ```
  39. yasal -r /path/to/folder -o /path/to/result/folder
  40. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement