Extra Files on Linux Server

I have a number of directories/files on my Linux Server that seem to be not needed.  

Can you tell me what these files are for and if they can be erased?

  100M: /opt/drweb/bases/bases.tar.gz
  100M: /old/opt/drweb/bases/bases.tar.gz
  100M: /old/old/opt/drweb/bases/bases.tar.gz
  100M: /old/old/old/opt/drweb/bases/bases.tar.gz
  100M: /old/old/old/old/opt/drweb/bases/bases.tar.gz
  102M: /old/old/old/usr/lib/locale/locale-archive
  102M: /old/old/old/old/usr/lib/locale/locale-archive
  102M: /old/usr/lib/locale/locale-archive
  102M: /old/old/usr/lib/locale/locale-archive

It seems to be that instead of replacing files in an "old" directory, it creates a new directory underneath the old one.  (e.g. /old/old/old).

Thanks.
Paul KonstanskiProject SpecialistAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nociSoftware EngineerCommented:
looks liek that way.

/old is not a standard linux directory so for me it seems safe to remove...
i have no idea what /opt/drweb houses though....

And if the structure is getting created again you need to check scripts that "attempt" to create a backup or safe keeping  of some data.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
As noci said...

/old - not part of any Linux Distro

/opt/drweb - part of Dr. Web scanner

Whatever code is generating the nested directories is likely due to slightly broken syntax in a cp or rsync command.

If you remove these directories + they reappear, look at the crontab entries for the user owning these files.
Paul KonstanskiProject SpecialistAuthor Commented:
Thank you for the excellent advice. Very helpful.
serialbandCommented:
You can compare the files to verify if they're actually duplicates.
diff opt/drweb/bases/bases.tar.gz /old/old/old/old/opt/drweb/bases/bases.tar.gz

It's possible that they're different versions too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.