You are not logged in.

#1 2017-06-14 17:34:43

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

[Resolved] Files "trapped" in a "." dir

So I wrote a little script to help automate archiving old files on a server.

But it the 'Archive' directory has been stuck into the '.' directory. I'd like it to be in the main 'FTVs' dir.

I've tried various permutations of

mv /mnt/FTVs/Archive/ /mnt/FTVs/

to no result. The shell says that it's the same file.

--- edited to better reflect the question I'm trying to solve. ---

Last edited by geekosupremo (2017-06-15 22:42:36)

Offline

#2 2017-06-15 22:42:02

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

Re: [Resolved] Files "trapped" in a "." dir

Since the files I'm working with are technically a "backup" I just killed the lot of them and will make sure the "Archive" dir is available before running my script.

I think having the script make the dir was causing some of the odd behavior.

Offline

Board footer

Powered by FluxBB