BigBane
(Big Bane)
1
my stignore file is
!.mkv
!.mp4
*
In my directory foo/bar/test/myfiles/watched I have the the following
~/test1.txt
~/test1.mkv
my desired and expected behavior is that the:
~/test1.mkv is synced to the destination device, and ~/test1.txt is not synced. But nothing is syncing. What am I doing wrong?
239
2
You are allowing only two files named .mkv and .mp4. Try *.mkv: Ignoring Files
1 Like
BigBane
(Big Bane)
3
My bad if my post wasn’t clear.
I want only the ~/test1.mkv to sync.
But neither the .txt nor .mkv files are syncing with my current stignore setup.
It only syncs when I update to
!.mkv
!.mp4
*.txt
But I don’t want to manage an exhaustive list of all the file types I don’t want to sync.
calmh
(Jakob Borg)
4
Again, what @239 tried to express.
!.mkv means “don’t ignore a file named .mkv”. You are looking for !*.mkv to say “don’t ignore all files ending with .mkv”.
BigBane
(Big Bane)
5
Ahh okay thanks for the clarification. That worked!
system
(system)
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.