class EL_UNIX_CP_TEMPLATE

(source code)

description

Unix copy command template

note
	description: "Unix copy command template"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2022 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2022-11-15 19:56:06 GMT (Tuesday 15th November 2022)"
	revision: "7"

deferred class
	EL_UNIX_CP_TEMPLATE

inherit
	EL_ANY_SHARED

feature {NONE} -- Constants

	Template: STRING = "[
		cp
		#if $update_enabled then
			--update
		#end
		#if $is_recursive then
			--recursive
		#end
		#if $timestamp_preserved_enabled then
			--preserve=timestamps
		#end
		#if $is_file_destination then
			--no-target-directory
		#end 
	 	$source_path $destination_path
	]"

end