An idea about moving, copying and renaming files

14 views
Skip to first unread message

Arnab Chakraborty

unread,
Apr 8, 2017, 7:01:35 AM4/8/17
to TMSU
Hi,

  Here is an idea that the developers might consider:

   tmsu can have a command like "mv" that will do the following:

     1) Check if the move is at all possible
     2) If so, it will actually perform the move, and also update the tmsu data base accordingly.

We can have similar tmsu-versions of file system commands. Then the database will always remain up to date.

Best.

Arnab.

Paul Ruane

unread,
Apr 8, 2017, 3:04:08 PM4/8/17
to tm...@googlegroups.com
You mean like the scripts that I've bundled with TMSU in the `misc` directory, or something more sophisticated?

--
You received this message because you are subscribed to the Google Groups "TMSU" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmsu+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arnab Chakraborty

unread,
Apr 9, 2017, 7:21:12 AM4/9/17
to TMSU
Not exactly sure how those scripts work (I do not use Zsh). But it should be something that works across all platforms where tmsu works. The idea is that with these commands in place, the user will NEVER use the regular cp/mv commands of the OS, but ALWAYS use those.

On Sunday, April 9, 2017 at 12:34:08 AM UTC+5:30, Paul Ruane wrote:
You mean like the scripts that I've bundled with TMSU in the `misc` directory, or something more sophisticated?
On 8 Apr 2017 12:01 p.m., "Arnab Chakraborty" <arna...@gmail.com> wrote:
Hi,

  Here is an idea that the developers might consider:

   tmsu can have a command like "mv" that will do the following:

     1) Check if the move is at all possible
     2) If so, it will actually perform the move, and also update the tmsu data base accordingly.

We can have similar tmsu-versions of file system commands. Then the database will always remain up to date.

Best.

Arnab.

--
You received this message because you are subscribed to the Google Groups "TMSU" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmsu+uns...@googlegroups.com.

Paul Ruane

unread,
Apr 9, 2017, 7:26:55 AM4/9/17
to tm...@googlegroups.com
They're not Zsh scripts.

To unsubscribe from this group and stop receiving emails from it, send an email to tmsu+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages