Getting Data In

upload app macos

sfatnass
Contributor

hi

i try to upload an app from my mac os to the splunk base

but i get an error : hidden file start with . not allowed

i try to remove some file but mac os may not remove it

how can i resolve that ??

0 Karma
1 Solution

sfatnass
Contributor

at first i tryed to compress the app project with tar.gz

but i resolve it with that :
./splunk package app appname

View solution in original post

0 Karma

sfatnass
Contributor

at first i tryed to compress the app project with tar.gz

but i resolve it with that :
./splunk package app appname

0 Karma

woodcock
Esteemed Legend

Mac is linux under the sheets so open a Terminal window and delete the file with rm.

0 Karma

sfatnass
Contributor

i try to remove some file but mac os may not remove it

rm - rf .*

and return

"." and ".." may not be removed

0 Karma

woodcock
Esteemed Legend

Yes, because they are special: . is the current directory where you are in. The OS will not allow you to remove the directory where you currently are. The .. directory is the directory above that one. These are not real files and cannot be the reason for your troubles. Try this in your top-level app directory:

find . -name ".*"

Then delete those files. Files which begin with a period are not normally shown when by tools that list files.

0 Karma

sfatnass
Contributor

it still "." and can't remove it.

0 Karma

woodcock
Esteemed Legend

I told you: that is not a real file and cannot be removed. A sure way to verify this to recreate the directory structure somewhere else and manually copy each file this leaving behind any "undeletable" problematic files.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...