Listing 2. Getting the Image Filenames from HTML Files # The list of files to be uploaded. Files = index.html info.html download.html Files += `get_html_images(Files)` # The publish attribute tells where to upload to. :attr {publish = scp://my.server.net/html/%file%} $Files # When executed without a target: publish the files. all : publish