Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too move DESTINATION #2

Open
mahiki opened this issue Jul 8, 2022 · 1 comment
Open

too move DESTINATION #2

mahiki opened this issue Jul 8, 2022 · 1 comment
Assignees

Comments

@mahiki
Copy link
Owner

mahiki commented Jul 8, 2022

Sometimes after the toobig folders have been created I decide to move a parent directory somewhere. The symlinks will continue to point to valid toodoc|toobig|toodata directories, but the parallel file structure will start to drift away from the main directory structure.

Add a feature to the too utility that will move folders, move toobigdata folders, and relabel all the symlinks.

$> tree

~/madrona/career/houseofsteaks/
    |-- textfile.txt
    |-- doc -> ~/toodoc/madrona/career/houseofsteaks/

# now suppose I want to move houseofsteaks/ to ~/madrona/archive/houseofsteaks

$> too move ~/madrona/career/houseofsteaks/ ~/madrona/archive/houseofsteaks
# ~/madrona/career/houseofsteaks/                 ->    ~/madrona/archive/houseofsteaks
# ~/toodoc/madrona/career/houseofsteaks/    ->    ~/toodoc/madrona/archive/houseofsteaks/

$> tree ~/madrona/archive/houseofsteaks
~/madrona/archive/houseofsteaks/
    |-- textfile.txt
    |-- doc -> ~/toodoc/madrona/archive/houseofsteaks/
@mahiki
Copy link
Owner Author

mahiki commented Jul 21, 2024

Just wanna upvote this here dayng

@mahiki mahiki self-assigned this Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant