Description
I am trying to tar files on a windows 11 machine but keep getting errors.
Even with the most minimal tar I keep get errors about Rel: can't make <whatever file> relative to
Create the provided taskfile in an empty directory and call it Taskfile.yml
When I do this in a directory called D:\taskfile-uroot and run task I get...
task: [default] tar -cf test.tar Taskfile.yml
task: Failed to run task "default": Rel: can't make D:\taskfile-uroot\Taskfile.yml relative to
What I expect to get is a file called test.tar containing the taskfile.
Version
3.45.5
Operating system
Windows 11 Pro 24H2
Experiments Enabled
No response
Example Taskfile
# https://taskfile.dev
version: '3'
tasks:
default:
cmds:
- tar -cf test.tar Taskfile.yml
Description
I am trying to tar files on a windows 11 machine but keep getting errors.
Even with the most minimal tar I keep get errors about
Rel: can't make <whatever file> relative toCreate the provided taskfile in an empty directory and call it
Taskfile.ymlWhen I do this in a directory called
D:\taskfile-urootand run task I get...What I expect to get is a file called test.tar containing the taskfile.
Version
3.45.5
Operating system
Windows 11 Pro 24H2
Experiments Enabled
No response
Example Taskfile