diff --git a/pkg/commands/split.go b/pkg/commands/split.go index 6632390..0576d79 100644 --- a/pkg/commands/split.go +++ b/pkg/commands/split.go @@ -23,7 +23,7 @@ func SplitWithPrompt(path string) error { return err } - return Split(path, path, total, threshold) + return Split(path, filepath.Dir(path), total, threshold) } func Split(path string, destination string, total int, threshold int) error {