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

Move action to different location (instead of deleting) #45

Open
ctenuun opened this issue Apr 23, 2018 · 10 comments
Open

Move action to different location (instead of deleting) #45

ctenuun opened this issue Apr 23, 2018 · 10 comments

Comments

@ctenuun
Copy link

ctenuun commented Apr 23, 2018

Just being able to delete after set %time seems to be lacking in usage, Can you please add an option to change the behavior? For example, when %time is due, all matching files to be moved to external storage or trash bin or any path within the NC platform.

rule applied path - /path/to/files
selectors - year, month, day, hour
move to - /path (trash/deleted files) (attached external storage/path) (local /data/$user/../..)

Cheers,

Tenuun

@ctenuun
Copy link
Author

ctenuun commented May 15, 2018

Anyone?

This file retention app has already done 60% of the work, now please add a feature to move items on to external storage with original path and it can be backported as a core archiving feature. Just like Amazon S3 lifetime manager on NEXTCLOUD. Dirt cheap encrypted archiving solution.

@RuudschMaHinda
Copy link
Member

RuudschMaHinda commented Sep 16, 2018

I second that feature request. This is exactly what I need.

A folder I created named "Archive" and within it, all the files that are older than $time get moved into it.

example:
path/to/file/so-old.odt → Archive/path/to/file/so-old.odt
path/to/very/old/folder → Archive/path/to/very/old/folder/

path/to/file/just-created.odt stays in path/to/file/just-created.odt

Where I can see it getting troublesome might be having this as a per folder, or per group thing maybe?
I have different group folders for different parts of the company.

Section1/many/folders would then get a Section1/Archive/ to put everything into only from Section1
while
Section2/folders would get a Section2/Archive/ where nothing from Section1 gets into and vice versa.

@dvergeylen
Copy link

I would also love to have this.

Actually it's a trigger on a file based on a timeout. The action to do could be generalized (deleted, moved to other location, reset ownership, reset share status, ...)

@wiswedel wiswedel changed the title Feature Request, Move action to different location (instead of deleting) Feb 22, 2021
@FALErwi
Copy link

FALErwi commented Jul 14, 2022

I hope we have this soon ❤️

@elronzo
Copy link

elronzo commented Oct 15, 2022

This feature would be perfect. Rarely used data could be moved to a cheaper storage...

@smacz42
Copy link

smacz42 commented Dec 19, 2022

I would also be interested if this could work with federated systems as well, to allow for a more flexible workflow. However, just having the basic functionality in place would be awesome too.

@ItsMeRitch
Copy link

Any updates on this functionality, would be amazing to have!

@nickvergessen

@nickvergessen
Copy link
Member

nickvergessen commented Aug 28, 2023

Not planed at the moment from my side.
But if anyone wants to implement it, I'm happy to review and help getting the changes in.

@elronzo
Copy link

elronzo commented Dec 10, 2023

Not planed at the moment from my side. But if anyone wants to implement it, I'm happy to review and help getting the changes in.

I might have some time to look into it. Is there a way to find Nextcloud folders which haven't been touched for a while (atime of files within the folder) in order to autotag them in NC?

@nickvergessen
Copy link
Member

See the file in lib/BackgroundJob/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants