feat(function): auto append date when upload files

This commit is contained in:
Léana 江 2023-02-05 12:53:04 +01:00
parent 1bfda6c5bb
commit 621995cdfe
4 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,8 @@
function file_mantissa --description 'Obtain file name without extension'
if count $argv >/dev/null
echo (basename $argv) | sed 's/\.[^.]*$//'
else
echo "Please supply a path"
return 1
end
end