https://pantsbuild.org/ logo
#general
Title
# general
s

some-farmer-97614

02/07/2022, 2:53 PM
Another question, can I use
relocated_files
to rename a file? I am trying to do this but get the error
Copy code
Cannot strip prefix [...] from root directory (Digest with hash [...]) - subdirectory [...] didn't contain a directory named [...] but did contain file named: [...]
c

curved-television-6568

02/07/2022, 2:59 PM
No, you can only move files. If you need to rename them, perhaps
experimental_shell_command
could work for you, where you can run any script/commands you want, e.g.
mv src dst
is valid. https://www.pantsbuild.org/v2.10/docs/run-shell-commands
s

some-farmer-97614

02/07/2022, 3:10 PM
Okay, thanks!
7 Views